aboutsummaryrefslogtreecommitdiff
path: root/src/widgets
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2017-09-29 17:38:23 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2017-09-29 17:38:23 +0200
commit34c06bf75797d94dc411aeaf0f326b135b95fbcf (patch)
treed913c38cabe63d4ad420bd1ad56ded1788c0052f /src/widgets
parentCode cleanup (diff)
downloadsmolbote-34c06bf75797d94dc411aeaf0f326b135b95fbcf.tar.xz
Fixed bug with tab bar not showing up
Diffstat (limited to 'src/widgets')
-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 c52e323..e662837 100644
--- a/src/widgets/webviewtabbar.cpp
+++ b/src/widgets/webviewtabbar.cpp
@@ -139,7 +139,7 @@ QSize WebViewTabBar::tabSizeHint(int index) const
void WebViewTabBar::handleCurrentChanged(int index)
{
if(index < 0) {
- addTab(profile()->newtab());
+ addTab(m_profile->newtab());
return;
}
emit currentTabChanged(m_views.at(index));