From 6ce25c6e5db5a90e272fb5ca1c665c65310c1b9f Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Tue, 8 Nov 2011 12:42:45 +0100 Subject: 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 --- src/tabbar.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/tabbar.cpp') 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) -- cgit v1.2.1