From 6ee9f08e8fc90cc67cd2ed83ae6f2dd5c1846ba3 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Thu, 22 Mar 2007 07:19:07 +0000 Subject: 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 --- src/dolphinapplication.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/dolphinapplication.h') 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); -- cgit v1.3