Skip to content

Commit

Permalink
fix grass plugin compile errors (by removing Qt3 cruft)
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@10686 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Apr 30, 2009
1 parent b95617c commit 560153d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/plugins/grass/qgsgrassmodule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ extern "C"
static QString getShortPath( const QString &path )
{
TCHAR buf[MAX_PATH];
GetShortPathName( path.ascii(), buf, MAX_PATH );
GetShortPathName( path.toAscii().data(), buf, MAX_PATH );
return buf;
}
#endif
Expand Down Expand Up @@ -610,7 +610,7 @@ void QgsGrassModuleStandardOptions::freezeOutput()
QgsDebugMsg( "source = " + source );

// Check GISBASE and LOCATION
QStringList split = QStringList::split( sep, source );
QStringList split = source.split( sep );

if ( split.size() < 4 ) continue;
split.pop_back(); // layer
Expand Down Expand Up @@ -682,7 +682,7 @@ void QgsGrassModuleStandardOptions::thawOutput()
QgsDebugMsg( "source = " + source );

// Check GISBASE and LOCATION
QStringList split = QStringList::split( sep, source );
QStringList split = source.split( sep );

if ( split.size() < 4 ) continue;
split.pop_back(); // layer
Expand Down

0 comments on commit 560153d

Please sign in to comment.