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

svn_qgis at osgeo.org svn_qgis at osgeo.org
Sun Sep 19 15:02:18 EDT 2010


Author: jef
Date: 2010-09-19 19:02:18 +0000 (Sun, 19 Sep 2010)
New Revision: 14257

Modified:
   trunk/qgis/src/app/qgisapp.cpp
Log:
fix #3011

Modified: trunk/qgis/src/app/qgisapp.cpp
===================================================================
--- trunk/qgis/src/app/qgisapp.cpp	2010-09-19 16:42:28 UTC (rev 14256)
+++ trunk/qgis/src/app/qgisapp.cpp	2010-09-19 19:02:18 UTC (rev 14257)
@@ -4942,7 +4942,7 @@
     {
       mMapCanvas->zoomScale( rightSide );
     }
-  } 
+  }
 }
 
 void QgisApp::userCenter()
@@ -6705,6 +6705,7 @@
 
   if ( settings.value( "/qgis/warnOldProjectVersion", QVariant( true ) ).toBool() )
   {
+    QApplication::setOverrideCursor( Qt::ArrowCursor );
     QMessageBox::warning( NULL, tr( "Project file is older" ),
                           tr( "<p>This project file was saved by an older version of QGIS."
                               " When saving this project file, QGIS will update it to the latest version, "
@@ -6725,7 +6726,7 @@
                           .arg( tr( "<tt>Settings:Options:General</tt>", "Menu path to setting options" ) )
                           .arg( tr( "Warn me when opening a project file saved with an older version of QGIS" ) )
                         );
-
+    QApplication::restoreOverrideCursor();
   }
   return;
 }



More information about the QGIS-commit mailing list