[QGIS Commit] r11822 - trunk/qgis/src/app

svn_qgis at osgeo.org svn_qgis at osgeo.org
Tue Oct 20 05:49:40 EDT 2009


Author: esseffe
Date: 2009-10-20 05:49:39 -0400 (Tue, 20 Oct 2009)
New Revision: 11822

Modified:
   trunk/qgis/src/app/qgsspatialitesourceselect.cpp
Log:
bug fix: 
- found incorrect DB-path handling in 'add spatialite new connection'


Modified: trunk/qgis/src/app/qgsspatialitesourceselect.cpp
===================================================================
--- trunk/qgis/src/app/qgsspatialitesourceselect.cpp	2009-10-17 19:15:58 UTC (rev 11821)
+++ trunk/qgis/src/app/qgsspatialitesourceselect.cpp	2009-10-20 09:49:39 UTC (rev 11822)
@@ -319,7 +319,7 @@
     QString myPath = myFI.path();
     QString myName = myFI.fileName();
 
-    handle = openSpatiaLiteDb( myFI.canonicalPath() );
+    handle = openSpatiaLiteDb( myFI.canonicalFilePath() );
     if ( handle )
     {
       // OK, this one is a valid SpatiaLite DB



More information about the QGIS-commit mailing list