diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2013-04-25 10:07:45 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2013-04-25 10:17:12 +0200 |
commit | 69b8ab5d5e3fe891ea7654921276d47dca32ca8e (patch) | |
tree | e3fb57db56f433f6af1149eef7fa3c7ebc251d6d | |
parent | Fix a logic error in unpinTab (diff) | |
download | rekonq-69b8ab5d5e3fe891ea7654921276d47dca32ca8e.tar.xz |
Finally fix the pinning icons cluttering
(or at least, well workarounding...)
BUG: 309213
-rw-r--r-- | src/tabwindow/tabbar.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tabwindow/tabbar.cpp b/src/tabwindow/tabbar.cpp index 1ca3d4c2..eb062bf6 100644 --- a/src/tabwindow/tabbar.cpp +++ b/src/tabwindow/tabbar.cpp @@ -562,6 +562,8 @@ void TabBar::pinTab() if (!label) label = new QLabel(this); + label->resize(QSize(16,16)); + setTabButton(index, QTabBar::LeftSide, 0); setTabButton(index, QTabBar::LeftSide, label); @@ -607,6 +609,8 @@ void TabBar::unpinTab() if (!label) label = new QLabel(this); + label->resize(QSize(16,16)); + setTabButton(index, QTabBar::LeftSide, 0); setTabButton(index, QTabBar::LeftSide, label); |