[Kst] branches/work/kst/portto4/kst/src/libkstapp

Barth Netterfield netterfield at astro.utoronto.ca
Tue Nov 11 03:04:40 CET 2008


SVN commit 882629 by netterfield:

Read dirfiles from the command line.



 M  +1 -1      commandlineparser.cpp  


--- branches/work/kst/portto4/kst/src/libkstapp/commandlineparser.cpp #882628:882629
@@ -326,7 +326,7 @@
       for (int i_file=0; i_file<_fileNames.size(); i_file++) { 
         QString file = _fileNames.at(i_file);
         QFileInfo info(file);
-        if (!info.exists() || !info.isFile())
+        if (!info.exists())
           usage(i18n("file %1 does not exist\n").arg(file));
 
         DataSourcePtr ds = DataSource::findOrLoadSource(_document->objectStore(), file);


More information about the Kst mailing list