[Kst] kdeextragear-2/kst/kst

Andrew Walker arwalker at sumusltd.com
Sat Jan 15 01:19:37 CET 2005


CVS commit by arwalker: 

Save something other than an empty file under KDE 3.2 and earlier.


  M +4 -0      vectorsavedialog.ui.h   1.8


--- kdeextragear-2/kst/kst/vectorsavedialog.ui.h  #1.7:1.8
@@ -41,4 +41,6 @@ void VectorSaveDialog::save()
 #if KDE_VERSION >= KDE_MAKE_VERSION(3,3,0)
                     tf.sync();
+#else
+                    tf.close();
 #endif
         if (KIO::NetAccess::exists(url)) {
@@ -69,4 +71,6 @@ void VectorSaveDialog::save()
 #if KDE_VERSION >= KDE_MAKE_VERSION(3,3,0)
                         tf.sync();
+#else
+                        tf.close();
 #endif
       if (KIO::NetAccess::exists(url2)) {




More information about the Kst mailing list