summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-02-19 02:20:18 +0100
committerAndrea Diamantini <adjam7@gmail.com>2010-02-19 02:20:18 +0100
commiteaeb2fd551b212eff656b65169ce98ca20485370 (patch)
tree3f6f553359a5c40a271c93c7a5c79d67767d0336 /src/mainwindow.cpp
parentFix settings webkit UI (broken on the krazy fix from (diff)
downloadrekonq-eaeb2fd551b212eff656b65169ce98ca20485370.tar.xz
Set rekonq page (and fix focus) on new window creation.
BUG: 226851
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index a4df5756..4c24440c 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -265,7 +265,7 @@ void MainWindow::setupActions()
a = new KAction(KIcon("window-new"), i18n("&New Window"), this);
a->setShortcut(KShortcut(Qt::CTRL | Qt::Key_N));
actionCollection()->addAction(QLatin1String("new_window"), a);
- connect(a, SIGNAL(triggered(bool)), Application::instance(), SLOT(newMainWindow()));
+ connect(a, SIGNAL(triggered(bool)), Application::instance(), SLOT(newWindow()));
// Standard Actions
KStandardAction::open(this, SLOT(fileOpen()), actionCollection());