summaryrefslogtreecommitdiff
path: root/src/tabbar.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2011-11-08 12:42:45 +0100
committerAndrea Diamantini <adjam7@gmail.com>2011-11-14 05:52:20 +0100
commit6ce25c6e5db5a90e272fb5ca1c665c65310c1b9f (patch)
tree33cd192ad9005fa4d9c2695ed98f626bb40783c3 /src/tabbar.cpp
parentfixuifiles (diff)
downloadrekonq-6ce25c6e5db5a90e272fb5ca1c665c65310c1b9f.tar.xz
Remove postLaunch calls
This will help a lot in having a clean/easy startup, also a bit less fast. Let's see if this helps stability... PS: To the bug reporter. I pushed a "NoPostLaunch" in rekonq git repo. Can you please try compiling and testing if this fixes your troubles on startup?? Many thanks for any help. Andrea. CCBUG:284356
Diffstat (limited to 'src/tabbar.cpp')
-rw-r--r--src/tabbar.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tabbar.cpp b/src/tabbar.cpp
index 6e9b781b..ff293d18 100644
--- a/src/tabbar.cpp
+++ b/src/tabbar.cpp
@@ -99,8 +99,8 @@ QSize TabBar::tabSizeHint(int index) const
int buttonSize = view->addTabButton()->size().width();
int tabBarWidth = view->size().width() - buttonSize;
- int baseWidth = view->originalWidthHint() / baseWidthDivisor;
- int minWidth = view->originalWidthHint() / minWidthDivisor;
+ int baseWidth = view->sizeHint().width() / baseWidthDivisor;
+ int minWidth = view->sizeHint().width() / minWidthDivisor;
int w;
if (baseWidth * count() < tabBarWidth)