summaryrefslogtreecommitdiff
path: root/src/application.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/application.cpp')
-rw-r--r--src/application.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/application.cpp b/src/application.cpp
index de62bbef..6c621015 100644
--- a/src/application.cpp
+++ b/src/application.cpp
@@ -140,7 +140,7 @@ MainWindow *Application::mainWindow()
WebView *Application::newTab()
{
- return m_mainWindow->tabWidget()->newTab();
+ return m_mainWindow->mainView()->newTab();
}