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

Peter Kümmel syntheticpp at gmx.net
Tue May 22 19:42:21 UTC 2012


SVN commit 1296155 by kuemmel:

update internal path with changed one

Bug: 300455 

 M  +3 -3      datasourceselector.cpp  


--- branches/work/kst/portto4/kst/src/widgets/datasourceselector.cpp #1296154:1296155
@@ -95,18 +95,18 @@
       QString changed_file = file;
       changed_file.replace('~', home);
       setFile(changed_file);
-      return;
     }
     home = qgetenv("USERPROFILE"); // windows, maybe (?)
     if (!home.isEmpty()) {
       QString changed_file = file;
       changed_file.replace('~', home);
       setFile(changed_file);
-      return;
     }
-  }
+  } else {
+    _file = file;
   emit changed(file);
 }
+}
 
 
 


More information about the Kst mailing list