diff options
| author | Peter Penz <[email protected]> | 2007-03-22 07:19:07 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2007-03-22 07:19:07 +0000 |
| commit | 6ee9f08e8fc90cc67cd2ed83ae6f2dd5c1846ba3 (patch) | |
| tree | f61b7028fb5aefeb74e92fa1ad075e8801396f9e /src/dolphinapplication.h | |
| parent | bf1f50403955cafc00d8791420212c48c72dcc00 (diff) | |
Use KUniqueApplication::newInstance() as David suggested some time ago. This simplifies the code and solves the issue that the window is not moved to the foreground when opening new main windows.
svn path=/trunk/KDE/kdebase/apps/; revision=645276
Diffstat (limited to 'src/dolphinapplication.h')
| -rw-r--r-- | src/dolphinapplication.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dolphinapplication.h b/src/dolphinapplication.h index fa6a1ceee..4ea91db83 100644 --- a/src/dolphinapplication.h +++ b/src/dolphinapplication.h @@ -51,6 +51,9 @@ public: DolphinMainWindow* createMainWindow(); void refreshMainWindows(); + /** @see KUniqueApplication::newInstance(). */ + virtual int newInstance(); + public slots: int openWindow(const QString& url); |
