summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tabwindow/tabbar.cpp4
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);