Skip to content
Permalink
Browse files

fix grass plugin compile errors (by removing Qt3 cruft)

git-svn-id: http://svn.osgeo.org/qgis/trunk@10686 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed Apr 30, 2009
1 parent d1a1664 commit 2d7a4f873cd4ce523798517596f7c1ca84be81f0
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/plugins/grass/qgsgrassmodule.cpp
@@ -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
@@ -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
@@ -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

0 comments on commit 2d7a4f8

Please sign in to comment.
You can’t perform that action at this time.