diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2017-08-04 13:12:32 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2017-08-04 13:12:32 +0200 |
commit | a85dc7d9133c3cf4c94a2ef37db4f53a3d0e4c91 (patch) | |
tree | 81cc123c4afbaf726fbc4a8a6b87d50732432b4b /src/widgets/webviewtabbar.cpp | |
parent | Updated documentation (diff) | |
download | smolbote-a85dc7d9133c3cf4c94a2ef37db4f53a3d0e4c91.tar.xz |
Profile window fixes
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)); |