We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 9707370 commit d80c90dCopy full SHA for d80c90d
src/python/qgspythonutilsimpl.cpp
@@ -441,12 +441,14 @@ QStringList QgsPythonUtilsImpl::extraPluginsPaths()
441
return QStringList();
442
443
QString paths = QString::fromLocal8Bit( cpaths );
444
- if ( paths.contains( ';' ) ) // keep windows users happy
445
- return paths.split( ';' );
446
- else if ( paths.contains( ':' ) ) // keep unix users happy
+#ifndef Q_OS_WIN
+ if ( paths.contains( ':' ) )
447
return paths.split( ':' );
+#endif
448
+ if ( paths.contains( ';' ) )
449
+ return paths.split( ';' );
450
else
- return QStringList( paths ); // just one path
451
+ return QStringList( paths );
452
}
453
454
0 commit comments