From 9b7ecf1d12979a1b7c4c30076e0b0aa0e7354a1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mladen=20Pejakovi=C4=87?= Date: Sun, 23 Feb 2014 14:54:22 +0100 Subject: [PATCH] [TabBar] Comment fix --- src/lib/webview/tabbar.cpp | 2 +- src/lib/webview/tabbar.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/webview/tabbar.cpp b/src/lib/webview/tabbar.cpp index 476c64d54..b09c0fa86 100644 --- a/src/lib/webview/tabbar.cpp +++ b/src/lib/webview/tabbar.cpp @@ -277,7 +277,7 @@ QSize TabBar::tabSizeHint(int index, bool fast) const tabBar->showCloseButton(currentIndex()); } if (m_showCloseOnInactive == 1) { - // Hiding close buttons to save some space + // Always showing close buttons tabBar->setTabsClosable(true); tabBar->showCloseButton(currentIndex()); } diff --git a/src/lib/webview/tabbar.h b/src/lib/webview/tabbar.h index 341af0cf0..a359e4a25 100644 --- a/src/lib/webview/tabbar.h +++ b/src/lib/webview/tabbar.h @@ -112,7 +112,7 @@ private: bool m_showTabPreviews; bool m_hideTabBarWithOneTab; - + int m_showCloseOnInactive; int m_clickedTab;