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

svn_qgis at osgeo.org svn_qgis at osgeo.org
Thu Apr 8 19:23:36 EDT 2010


Author: jef
Date: 2010-04-08 19:23:35 -0400 (Thu, 08 Apr 2010)
New Revision: 13289

Modified:
   trunk/qgis/src/app/qgisapp.cpp
Log:
re-enable opening projects by drag&drop

Modified: trunk/qgis/src/app/qgisapp.cpp
===================================================================
--- trunk/qgis/src/app/qgisapp.cpp	2010-04-08 21:09:10 UTC (rev 13288)
+++ trunk/qgis/src/app/qgisapp.cpp	2010-04-08 23:23:35 UTC (rev 13289)
@@ -587,6 +587,7 @@
       if ( fi.completeSuffix() == "qgs" )
       {
         QgsDebugMsg( "Opening project " + fileName );
+        openProject( fileName );
       }
       else
       {
@@ -3588,7 +3589,7 @@
       continue;
 
     QString myFilter = createFileFilter_( myFormat + " format", "*." + myFormat );
-    if( !myFilters.isEmpty() )
+    if ( !myFilters.isEmpty() )
       myFilters += ";;";
     myFilters += myFilter;
     myFilterMap[myFilter] = myFormat;



More information about the QGIS-commit mailing list