[devel] kdenonbeta/kdedebian/kalternatives/src

Kévin Ottens <[email protected]> Wed, 13 Oct 2004 18:38:11 +0200 (CEST)
Newsgroups gmane.comp.kde.devel.debian
Message-ID <20041013163811.1F37616CD5__28683.312299154$1097685524$gmane$org@office.kde.org>
CVS commit by ervin: 

Fix a potential layout issue. We're now sure that it's compliant to KDE style.


  M +2 -2      kalternatives.cpp   1.17


--- kdenonbeta/kdedebian/kalternatives/src/kalternatives.cpp  #1.16:1.17
@@ -87,6 +87,6 @@ m_mgr = new AltFilesManager("/var/lib/rp
         
         MainWindow *mainwindow = new MainWindow(this);
-        QGridLayout *KalternativesLayout = new QGridLayout( this, 1, 1, 11, 6, "KalternativesLayout"); 
-        KalternativesLayout->addWidget(mainwindow, 0, 0);
+        QBoxLayout *layout = new QVBoxLayout(this, 0, KDialog::spacingHint());
+        layout->addWidget( mainwindow );
         
         mainwindow->m_altList->setShowToolTips(1);