diff options
author | Cedric Bellegarde <gnumdk@gmail.com> | 2011-02-10 12:32:05 +0100 |
---|---|---|
committer | Cedric Bellegarde <gnumdk@gmail.com> | 2011-02-10 12:32:05 +0100 |
commit | 820e25d41deba791beda0f2f6c0a55b68653262f (patch) | |
tree | f51c6f4a7725fc37b23b9ee2bcdbf6781f7896be | |
parent | Fix issue 258901: disable stop button while not loading (diff) | |
download | rekonq-820e25d41deba791beda0f2f6c0a55b68653262f.tar.xz |
Fix issue 258905: mark window in taskbar when opening link from external apps: good compromise with issue 250502
-rw-r--r-- | src/application.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/application.cpp b/src/application.cpp index 5dd2909c..a49e1d80 100644 --- a/src/application.cpp +++ b/src/application.cpp @@ -57,6 +57,7 @@ #include <KStartupInfo> #include <ThreadWeaver/Weaver> #include <KAction> +#include <KWindowSystem> // Qt Includes #include <QVBoxLayout> @@ -167,8 +168,11 @@ int Application::newInstance() } else { - if(ReKonfig::openTabNoWindow()) + if(ReKonfig::openTabNoWindow()) { loadUrl(urlList.at(0), Rekonq::NewTab); + if( !mainWindow()->isActiveWindow() ) + KWindowSystem::demandAttention(mainWindow()->winId(), true); + } else loadUrl(urlList.at(0), Rekonq::NewWindow); } |