summaryrefslogtreecommitdiff
path: root/src/application.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-11-11 09:40:36 +0100
committerAndrea Diamantini <adjam7@gmail.com>2012-12-10 02:48:06 +0100
commit4f1dae7834becb7d7105a0cc9945d9a0c04383b8 (patch)
treebe823d81fe7ab1cc199b11bc5b32823d3cc9bdf7 /src/application.cpp
parentClean up previous commit about adblock and fix enable/disable feature (diff)
downloadrekonq-4f1dae7834becb7d7105a0cc9945d9a0c04383b8.tar.xz
WARNING: BIG COMMIT
This commit reviews and partially fix the Q/K action mess in rekonq code. We now store actions in different actioncollections (one for each tab && one for each window). Related to this code review, you can find also fixes for some triggered actions NOT working (well) before: - fullscreen - bookmark all tabs - new (clean) tab
Diffstat (limited to 'src/application.cpp')
-rw-r--r--src/application.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/application.cpp b/src/application.cpp
index 4ce8b121..e8b63756 100644
--- a/src/application.cpp
+++ b/src/application.cpp
@@ -274,7 +274,7 @@ int Application::newInstance()
break;
}
default:
- newTabWindow()->newCleanTab();
+ newTabWindow()->newTab();
break;
}
}
@@ -815,12 +815,6 @@ void Application::bookmarksToolbarToggled(bool b)
}
-void Application::newTab()
-{
- tabWindow()->newCleanTab();
-}
-
-
void Application::newPrivateBrowsingWindow()
{
// NOTE: what about an "about:incognito" page?