We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52c797f commit 9c46266Copy full SHA for 9c46266
src/mapserver/qgsserverprojectparser.cpp
@@ -103,14 +103,14 @@ QString QgsServerProjectParser::convertToAbsolutePath( const QString& file ) con
103
bool uncPath = projPath.startsWith( "//" );
104
#endif
105
106
- QStringList srcElems = file.split( "/", QString::SkipEmptyParts );
107
- QStringList projElems = mProjectPath.split( "/", QString::SkipEmptyParts );
+ QStringList srcElems = srcPath.split( "/", QString::SkipEmptyParts );
+ QStringList projElems = projPath.split( "/", QString::SkipEmptyParts );
108
109
#if defined(Q_OS_WIN)
110
if ( uncPath )
111
{
112
- projElems.insert( 0, "" );
113
+ projElems.prepend( "" );
114
}
115
116
0 commit comments