summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2011-12-20 10:37:18 +0100
committerAndrea Diamantini <adjam7@gmail.com>2011-12-20 10:37:18 +0100
commit41e5e172ea305528bf855650853c1a752f0cbd22 (patch)
tree8346c5560bbc32b546cbfdffc81b9e9a687e7ca9
parentHide unneeded actions when there is only one tab (diff)
downloadrekonq-41e5e172ea305528bf855650853c1a752f0cbd22.tar.xz
Tabs opened from outside receive are focused
BUG: 276273
-rw-r--r--src/application.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/application.cpp b/src/application.cpp
index b76e52c1..5f66d80e 100644
--- a/src/application.cpp
+++ b/src/application.cpp
@@ -223,7 +223,7 @@ int Application::newInstance()
{
if (!ReKonfig::openExternalLinksInNewWindow())
{
- loadUrl(urlList.at(0), Rekonq::NewTab);
+ loadUrl(urlList.at(0), Rekonq::NewFocusedTab);
}
else
{
@@ -238,7 +238,7 @@ int Application::newInstance()
if (!ReKonfig::openExternalLinksInNewWindow())
{
for (int i = 1; i < urlList.count(); ++i)
- loadUrl(urlList.at(i), Rekonq::NewTab);
+ loadUrl(urlList.at(i), Rekonq::NewFocusedTab);
}
else
{