[Kst] kdeextragear-2/kst/kst

George Staikos staikos at kde.org
Wed Oct 22 03:06:31 CEST 2003


CVS commit by staikos: 

Nothing wrong with an empty file - it could get data later if it's generated
in realtime


  M +4 -4      main.cpp   1.40


--- kdeextragear-2/kst/kst/main.cpp  #1.39:1.40
@@ -35,6 +35,5 @@
 #include "kstdatacollection.h"
 
-static const char description[] =
-I18N_NOOP("Kst: a data viewing program.");
+static const char description[] = I18N_NOOP("Kst: a data viewing program.");
 
 
@@ -279,6 +278,7 @@ int main(int argc, char *argv[]) {
           kdWarning() << I18N_NOOP("Error: No data in file: ")
                       << args->arg(i_file) << endl;
-          delete kst;
-          exit(0);
+          // The file might get data later!
+          //delete kst;
+          //exit(0);
         }
         KST::dataSourceList.append(file);




More information about the Kst mailing list