forked from qt-creator/qt-creator
Utils: use cleaned stdout all over the place again
Amends 5ee880ce5e
Change-Id: Ie0202db7d8455372c3697087d9571db6706b45a1
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -71,7 +71,7 @@ FilePath findFallbackDefinitionsLocation()
|
||||
process.setCommand({program, {"--prefix"}});
|
||||
process.runBlocking();
|
||||
if (process.result() == ProcessResult::FinishedWithSuccess) {
|
||||
QString output = process.stdOut();
|
||||
QString output = process.cleanedStdOut();
|
||||
output.remove('\n');
|
||||
const FilePath dir = FilePath::fromString(output);
|
||||
for (auto &kateSyntaxPath : kateSyntaxPaths) {
|
||||
|
||||
Reference in New Issue
Block a user