forked from qt-creator/qt-creator
ProjectExplorer: Compile with QT_NO_CAST_FROM_ASCII.
- Add missing translations - Remove some unneeded conversions. Change-Id: Ia30e5c838099e52a9f38ca4854395c10c0391075 Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
This commit is contained in:
@@ -63,7 +63,7 @@ PropertiesPanel *CodeStyleSettingsPanelFactory::createPanel(Project *project)
|
||||
{
|
||||
PropertiesPanel *panel = new PropertiesPanel;
|
||||
panel->setWidget(new CodeStyleSettingsWidget(project));
|
||||
panel->setIcon(QIcon(":/projectexplorer/images/CodeStyleSettings.png"));
|
||||
panel->setIcon(QIcon(QLatin1String(":/projectexplorer/images/CodeStyleSettings.png")));
|
||||
panel->setDisplayName(QCoreApplication::translate("CodeStyleSettingsPanel", "Code Style Settings"));
|
||||
return panel;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user