diff options
Diffstat (limited to 'src/widgets/webviewtabbar.cpp')
-rw-r--r-- | src/widgets/webviewtabbar.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/webviewtabbar.cpp b/src/widgets/webviewtabbar.cpp index bd24304..eb2e463 100644 --- a/src/widgets/webviewtabbar.cpp +++ b/src/widgets/webviewtabbar.cpp @@ -142,7 +142,7 @@ QSize WebViewTabBar::tabSizeHint(int index) const void WebViewTabBar::handleCurrentChanged(int index) { if(index < 0) { - addTab(QUrl::fromUserInput(sSettings->value("general.newtab").toString())); + addTab(profile()->newtab()); return; } emit currentTabChanged(m_views.at(index)); |