GUI: trim given vs include paths
This commit is contained in:
parent
4cc5a594da
commit
c29536cfe1
|
@ -148,7 +148,7 @@ void CheckThread::runAddons(const QString &addonPath, const ImportProject::FileS
|
||||||
foreach (QString s, mVsIncludePaths.split(";")) {
|
foreach (QString s, mVsIncludePaths.split(";")) {
|
||||||
if (!s.isEmpty()) {
|
if (!s.isEmpty()) {
|
||||||
s.replace("\\", "/");
|
s.replace("\\", "/");
|
||||||
args << "-isystem" << s;
|
args << "-isystem" << s.trimmed();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue