forked from qt-creator/qt-creator
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:
committed by
Eike Ziller
parent
eac89b9a5f
commit
01f222bfdc
@@ -445,7 +445,7 @@ QString PluginManager::systemInformation() const
|
|||||||
});
|
});
|
||||||
int size = (*longestSpec)->name().size();
|
int size = (*longestSpec)->name().size();
|
||||||
for (const PluginSpec *spec : plugins()) {
|
for (const PluginSpec *spec : plugins()) {
|
||||||
result += (spec->isEffectivelyEnabled() ? "+ " : " ") + filled(spec->name(), size) +
|
result += QLatin1String(spec->isEffectivelyEnabled() ? "+ " : " ") + filled(spec->name(), size) +
|
||||||
" " + spec->version() + "\n";
|
" " + spec->version() + "\n";
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
|
|||||||
Reference in New Issue
Block a user