[Marble-commits] KDE/kdeedu/marble/src/lib/routing

Dennis Nienhüser earthwings at gentoo.org
Wed Nov 17 21:20:12 CET 2010


SVN commit 1198190 by nienhueser:

Dialog box is on the right, so it needs a vertical button layout. Fixes wrong initial size.

 M  +1 -1      RoutingProfileSettingsDialog.cpp  


--- trunk/KDE/kdeedu/marble/src/lib/routing/RoutingProfileSettingsDialog.cpp #1198189:1198190
@@ -137,7 +137,7 @@
         if ( !m_dialog ) {
             m_dialog = new QDialog( this );
 
-            QDialogButtonBox *buttonBox = new QDialogButtonBox( QDialogButtonBox::Ok );
+            QDialogButtonBox *buttonBox = new QDialogButtonBox( QDialogButtonBox::Ok, Qt::Vertical );
             connect( buttonBox, SIGNAL( accepted() ), m_dialog, SLOT( accept() ) );
 
             m_dialogLayout = new QHBoxLayout();


More information about the Marble-commits mailing list