[Kst] kst_hfi_calib_branch: kdeextragear-2/kst/kst

George Staikos staikos at kde.org
Tue Nov 9 14:16:52 CET 2004


CVS commit by staikos: 

- return from main
- update dirty flag on timer change
CCBUG: 92876


  M +1 -0      kstsettingsdlg.ui.h   1.12.2.1
  M +3 -2      main.cpp   1.90.2.1


--- kdeextragear-2/kst/kst/kstsettingsdlg.ui.h  #1.12:1.12.2.1
@@ -22,4 +22,5 @@ void KstSettingsDlg::init()
     }
     _apply->setEnabled(false);
+    connect(_timer->child("qt_spinbox_edit"), SIGNAL(textChanged(const QString&)), this, SLOT(setDirty()));
 }
 

--- kdeextragear-2/kst/kst/main.cpp  #1.90:1.90.2.1
@@ -412,5 +412,6 @@ int main(int argc, char *argv[]) {
 
       if (!tlv) {
-        exit(0); // FIXME: can cause crashes
+        kdError() << i18n("Can't create a view.") << endl;
+        return 0;
       }
 
@@ -700,5 +701,5 @@ int main(int argc, char *argv[]) {
       args->clear();
       delete kst;
-      exit(0);
+      return 0;
     } else {
       args->clear();





More information about the Kst mailing list