File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ extern "C"
51
51
static QString getShortPath ( const QString &path )
52
52
{
53
53
TCHAR buf[MAX_PATH];
54
- GetShortPathName ( path.ascii (), buf, MAX_PATH );
54
+ GetShortPathName ( path.toAscii (). data (), buf, MAX_PATH );
55
55
return buf;
56
56
}
57
57
#endif
@@ -610,7 +610,7 @@ void QgsGrassModuleStandardOptions::freezeOutput()
610
610
QgsDebugMsg ( " source = " + source );
611
611
612
612
// Check GISBASE and LOCATION
613
- QStringList split = QStringList:: split ( sep, source );
613
+ QStringList split = source. split ( sep );
614
614
615
615
if ( split.size () < 4 ) continue ;
616
616
split.pop_back (); // layer
@@ -682,7 +682,7 @@ void QgsGrassModuleStandardOptions::thawOutput()
682
682
QgsDebugMsg ( " source = " + source );
683
683
684
684
// Check GISBASE and LOCATION
685
- QStringList split = QStringList:: split ( sep, source );
685
+ QStringList split = source. split ( sep );
686
686
687
687
if ( split.size () < 4 ) continue ;
688
688
split.pop_back (); // layer
You can’t perform that action at this time.
0 commit comments