summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-12-07 00:28:40 +0100
committerAndrea Diamantini <adjam7@gmail.com>2012-12-10 02:48:06 +0100
commit290598acc8851afcce5b7df19bb495e3c0ce4e2b (patch)
tree9c5f7c8de95d6f730be366549c3a4f10fc8337d1 /src
parentFix open external link on web app (diff)
downloadrekonq-290598acc8851afcce5b7df19bb495e3c0ce4e2b.tar.xz
do not update tabbar until we decided where putting the new tab button
Diffstat (limited to 'src')
-rw-r--r--src/tabwindow/tabwindow.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tabwindow/tabwindow.cpp b/src/tabwindow/tabwindow.cpp
index c42d2048..e1d239a7 100644
--- a/src/tabwindow/tabwindow.cpp
+++ b/src/tabwindow/tabwindow.cpp
@@ -339,6 +339,8 @@ void TabWindow::updateNewTabButtonPosition()
if (isFullScreen())
return;
+ setUpdatesEnabled(false);
+
int tabWidgetWidth = frameSize().width();
int tabBarWidth = tabBar()->sizeHint().width();
@@ -353,6 +355,7 @@ void TabWindow::updateNewTabButtonPosition()
}
_addTabButton->show();
+ setUpdatesEnabled(true);
}