[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdepim/kontact/src
From:       Rafael Fernández López <ereslibre () kde ! org>
Date:       2008-08-20 11:07:30
Message-ID: 1219230450.180710.8620.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 849864 by ereslibre:

A toolbar with a different layout direction than the rest of the app could make this \
toolbar to be smaller than what we wanted at some point. With this, also we assure \
the navigation toolbar will be always visible when possible.


 M  +5 -0      mainwindow.cpp  


--- trunk/KDE/kdepim/kontact/src/mainwindow.cpp #849863:849864
@@ -185,6 +185,11 @@
 
   resize( 700, 520 ); // initial size to prevent a scrollbar in sidepane
   setAutoSaveSettings();
+
+  KToolBar *navigatorToolBar = findToolBar( "navigatorToolBar" );
+  if ( navigatorToolBar ) {
+    navigatorToolBar->setMinimumWidth( navigatorToolBar->sizeHint().width() );
+  }
 }
 
 void MainWindow::initObject()


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic