[QGIS Commit] r11120 - in trunk/qgis/src: plugins/grass providers/grass

svn_qgis at osgeo.org svn_qgis at osgeo.org
Mon Jul 20 12:20:37 EDT 2009


Author: rugginoso
Date: 2009-07-20 12:20:37 -0400 (Mon, 20 Jul 2009)
New Revision: 11120

Modified:
   trunk/qgis/src/plugins/grass/qgsgrassshell.cpp
   trunk/qgis/src/providers/grass/qgsgrass.cpp
   trunk/qgis/src/providers/grass/qgsgrass.h
Log:
Fixed a typo.


Modified: trunk/qgis/src/plugins/grass/qgsgrassshell.cpp
===================================================================
--- trunk/qgis/src/plugins/grass/qgsgrassshell.cpp	2009-07-20 16:08:32 UTC (rev 11119)
+++ trunk/qgis/src/plugins/grass/qgsgrassshell.cpp	2009-07-20 16:20:37 UTC (rev 11120)
@@ -48,7 +48,7 @@
   connect( copyShortcut, SIGNAL( activated() ), mTerminal, SLOT( copyClipboard() ) );
 
   // TODO: find a better way to manage the lockfile.
-  mLockFilename = QgsGrass::lockFileParh();
+  mLockFilename = QgsGrass::lockFilePath();
   QFile::remove(mLockFilename + ".qgis");
   if (!QFile::rename(mLockFilename, mLockFilename + ".qgis"))
   {

Modified: trunk/qgis/src/providers/grass/qgsgrass.cpp
===================================================================
--- trunk/qgis/src/providers/grass/qgsgrass.cpp	2009-07-20 16:08:32 UTC (rev 11119)
+++ trunk/qgis/src/providers/grass/qgsgrass.cpp	2009-07-20 16:20:37 UTC (rev 11120)
@@ -1082,7 +1082,7 @@
   return false;
 }
 
-QString GRASS_EXPORT QgsGrass::lockFileParh()
+QString GRASS_EXPORT QgsGrass::lockFilePath()
 {
     return mMapsetLock;
 }

Modified: trunk/qgis/src/providers/grass/qgsgrass.h
===================================================================
--- trunk/qgis/src/providers/grass/qgsgrass.h	2009-07-20 16:08:32 UTC (rev 11119)
+++ trunk/qgis/src/providers/grass/qgsgrass.h	2009-07-20 16:20:37 UTC (rev 11120)
@@ -152,7 +152,7 @@
     static GRASS_EXPORT bool isMapset( QString path );
 
     // ! Get the lock file
-    static GRASS_EXPORT QString lockFileParh();
+    static GRASS_EXPORT QString lockFilePath();
 
     //! Library version
     static GRASS_EXPORT int versionMajor();



More information about the QGIS-commit mailing list