aboutsummaryrefslogtreecommitdiffstats
path: root/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mainwindow.cpp')
-rw-r--r--mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mainwindow.cpp b/mainwindow.cpp
index abac5be..73cfb15 100644
--- a/mainwindow.cpp
+++ b/mainwindow.cpp
@@ -154,7 +154,7 @@ void MainWindow::createActions()
newTabActShortcutList.append(QKeySequence (Qt::CTRL + Qt::Key_T));
newTabAct->setShortcuts(newTabActShortcutList);
newTabAct->setToolTip(tr("Open a new file"));
- connect(newTabAct, SIGNAL(triggered()), edit, SLOT(slotNewTab()));
+ connect(newTabAct, SIGNAL(triggered()), edit, SLOT(slotNewEditorPageTab()));
openAct = new QAction(tr("&Open..."), this);
openAct->setIcon(QIcon(":fileopen.png"));