Skip to content

Commit

Permalink
Fixed a typo.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@11120 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
rugginoso committed Jul 20, 2009
1 parent 1684fcb commit 2758117
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/plugins/grass/qgsgrassshell.cpp
Expand Up @@ -48,7 +48,7 @@ QgsGrassShell::QgsGrassShell( QgsGrassTools *tools, QTabWidget *parent, const ch
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"))
{
Expand Down
2 changes: 1 addition & 1 deletion src/providers/grass/qgsgrass.cpp
Expand Up @@ -1082,7 +1082,7 @@ bool GRASS_EXPORT QgsGrass::isMapset( QString path )
return false;
}

QString GRASS_EXPORT QgsGrass::lockFileParh()
QString GRASS_EXPORT QgsGrass::lockFilePath()
{
return mMapsetLock;
}
2 changes: 1 addition & 1 deletion src/providers/grass/qgsgrass.h
Expand Up @@ -152,7 +152,7 @@ class QgsGrass
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();
Expand Down

0 comments on commit 2758117

Please sign in to comment.