Core: Build with QT_NO_CAST_FROM_ASCII

Change-Id: If8e5d9ce875f8467a7699b791e5ec962baf8ff38
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
Orgad Shaneh
2012-11-18 22:33:50 +02:00
committed by hjk
parent 74387106d3
commit 1cba4a5af3
6 changed files with 14 additions and 10 deletions

View File

@@ -189,7 +189,7 @@ MainWindow::MainWindow() :
if (Utils::HostOsInfo::isAnyUnixHost() && !Utils::HostOsInfo::isMacHost()) {
if (baseName == QLatin1String("windows")) {
// Sometimes we get the standard windows 95 style as a fallback
if (QStyleFactory::keys().contains("Fusion"))
if (QStyleFactory::keys().contains(QLatin1String("Fusion")))
baseName = QLatin1String("fusion"); // Qt5
else { // Qt4
// e.g. if we are running on a KDE4 desktop