[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/work/kst/portto4/kst/src/widgets
From:       Peter Kümmel <syntheticpp () gmx ! net>
Date:       2012-05-22 19:42:21
Message-ID: 20120522194221.7A269AC76D () svn ! kde ! org
[Download RAW message or body]

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);
 }
+}
 
 
 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic