From 34c06bf75797d94dc411aeaf0f326b135b95fbcf Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Fri, 29 Sep 2017 17:38:23 +0200 Subject: Fixed bug with tab bar not showing up --- src/widgets/webviewtabbar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/widgets') 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)); -- cgit v1.2.1