ExtensionSystem: Fix compile on OSX

Using Qt5.6 and Xcode 5 or Xcode 6 results in compile
issues.

Change-Id: I33af400f51991e043672712b531869c6a79d6ffd
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Christian Stenger
2016-09-06 07:31:16 +02:00
committed by Eike Ziller
parent eac89b9a5f
commit 01f222bfdc

View File

@@ -445,7 +445,7 @@ QString PluginManager::systemInformation() const
});
int size = (*longestSpec)->name().size();
for (const PluginSpec *spec : plugins()) {
result += (spec->isEffectivelyEnabled() ? "+ " : " ") + filled(spec->name(), size) +
result += QLatin1String(spec->isEffectivelyEnabled() ? "+ " : " ") + filled(spec->name(), size) +
" " + spec->version() + "\n";
}
return result;