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

List:       kde-commits
Subject:    kdenonbeta/kturtle
From:       Anne-Marie Mahfouf <annma () kde ! org>
Date:       2004-04-02 2:54:40
Message-ID: 20040402025440.1B70A99ED () office ! kde ! org
[Download RAW message or body]

CVS commit by annma: 

fix crash in Settings -> Configure KTurtle


  M +1 -1      TODO   1.48
  M +13 -11    src/kturtle.cpp   1.71


--- kdenonbeta/kturtle/TODO  #1.47:1.48
@@ -1,4 +1,4 @@
 This is the TODO file of the KTurtle project, here the things are put that still \
                need implmentation.
-This list is devided into URGENT, BIG-TODOs, normalTODOs, TO-oeps-meDOitALLreadies \
and StillSubjectToDiscussions :-) +This list is divided into URGENT, BIG-TODOs, \
normalTODOs, TO-oeps-meDOitALLreadies and StillSubjectToDiscussions :-)  
 BUGS

--- kdenonbeta/kturtle/src/kturtle.cpp  #1.70:1.71
@@ -817,9 +817,5 @@ void MainWindow::slotSettings() {
         QHBoxLayout *layout3 = new QHBoxLayout( 0, 0, 6, "layout3"); 
         QVBoxLayout *layout2 = new QVBoxLayout( 0, 0, 6, "layout2"); 
-        WidthLabel = new QLabel( kcfg_CanvasWidth, i18n("Canvas Width:"), \
                WidthHeightBox );
-        layout2->addWidget( WidthLabel );
-        HeightLabel = new QLabel( kcfg_CanvasHeight, i18n("Canvas Weight:"), \
                WidthHeightBox );
-        layout2->addWidget( HeightLabel );
-        layout3->addLayout( layout2 );
+
         QVBoxLayout *layout1 = new QVBoxLayout( 0, 0, 6, "layout1");
         
@@ -836,4 +832,10 @@ void MainWindow::slotSettings() {
         layout1->addWidget( kcfg_CanvasHeight );
         
+        WidthLabel = new QLabel( kcfg_CanvasWidth, i18n("Canvas Width:"), \
WidthHeightBox ); +        layout2->addWidget( WidthLabel );
+        HeightLabel = new QLabel( kcfg_CanvasHeight, i18n("Canvas Weight:"), \
WidthHeightBox ); +        layout2->addWidget( HeightLabel );
+        layout3->addLayout( layout2 );
+        
         layout3->addLayout( layout1 );
         WidthHeightBoxLayout->addLayout( layout3 );
@@ -857,8 +859,4 @@ void MainWindow::slotSettings() {
         QVBoxLayout *layout4 = new QVBoxLayout( 0, 0, 6, "layout4"); 
         
-        LanguageLabel = new QLabel(kcfg_LanguageComboBox, i18n("Select the language \
                for the Logo commands:"), groupBox1);
-        LanguageLabel->setBuddy( kcfg_LanguageComboBox );
-        layout4->addWidget( LanguageLabel );
-        
         kcfg_LanguageComboBox = new KComboBox(groupBox1, "kcfg_LanguageComboBox");
         kcfg_LanguageComboBox->setEditable(false);
@@ -873,4 +871,8 @@ void MainWindow::slotSettings() {
         layout4->addWidget( kcfg_LanguageComboBox );
         
+        LanguageLabel = new QLabel(kcfg_LanguageComboBox, i18n("Select the language \
for the Logo commands:"), groupBox1); +        LanguageLabel->setBuddy( \
kcfg_LanguageComboBox ); +        layout4->addWidget( LanguageLabel );
+        
         groupBox1Layout->addLayout( layout4, 0, 0 );
         languageLayout->addWidget( groupBox1, 0, 0 ); 


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

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