aboutsummaryrefslogtreecommitdiff
path: root/src/widgets/webviewtabbar.cpp
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2017-08-04 13:12:32 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2017-08-04 13:12:32 +0200
commita85dc7d9133c3cf4c94a2ef37db4f53a3d0e4c91 (patch)
tree81cc123c4afbaf726fbc4a8a6b87d50732432b4b /src/widgets/webviewtabbar.cpp
parentUpdated documentation (diff)
downloadsmolbote-a85dc7d9133c3cf4c94a2ef37db4f53a3d0e4c91.tar.xz
Profile window fixes
Diffstat (limited to 'src/widgets/webviewtabbar.cpp')
-rw-r--r--src/widgets/webviewtabbar.cpp2
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));