forked from qt-creator/qt-creator
QmlProjectManager: Compile with QT_NO_CAST_FROM_ASCII
Change-Id: Icac2d84abc001c963d78aa9e95911110463b4b04 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: Kai Koehne <kai.koehne@digia.com>
This commit is contained in:
@@ -89,7 +89,8 @@ bool QmlProjectPlugin::initialize(const QStringList &, QString *errorMessage)
|
||||
QmlProjectFileFormat::registerDeclarativeTypes();
|
||||
|
||||
Core::FileIconProvider *iconProvider = Core::FileIconProvider::instance();
|
||||
iconProvider->registerIconOverlayForSuffix(QIcon(QLatin1String(":/qmlproject/images/qmlproject.png")), "qmlproject");
|
||||
iconProvider->registerIconOverlayForSuffix(QIcon(QLatin1String(":/qmlproject/images/qmlproject.png")),
|
||||
QLatin1String("qmlproject"));
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -115,8 +116,8 @@ void QmlProjectPlugin::showQmlObserverToolWarning()
|
||||
dialog.exec();
|
||||
if (dialog.clickedButton() == qtPref) {
|
||||
Core::ICore::showOptionsDialog(
|
||||
ProjectExplorer::Constants::PROJECTEXPLORER_SETTINGS_CATEGORY,
|
||||
QtSupport::Constants::QTVERSION_SETTINGS_PAGE_ID);
|
||||
QLatin1String(ProjectExplorer::Constants::PROJECTEXPLORER_SETTINGS_CATEGORY),
|
||||
QLatin1String(QtSupport::Constants::QTVERSION_SETTINGS_PAGE_ID));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user