forked from qt-creator/qt-creator
Icon refresh: First step towards the new Qt Creator themes
http://blog.qt.io/blog/author/didesous/ announced new designs/themes for Qt Creator. This patch replaces many of the existing toolbar icons with recolorizable masks for better theming support. Change-Id: I557aa485205fe2624f33724226f698c303342b40 Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com> Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
This commit is contained in:
@@ -33,6 +33,7 @@
|
||||
|
||||
#include <coreplugin/coreconstants.h>
|
||||
#include <utils/tooltip/tooltip.h>
|
||||
#include <utils/themehelper.h>
|
||||
|
||||
#include <QKeyEvent>
|
||||
#include <QMessageBox>
|
||||
@@ -62,7 +63,8 @@ AvdDialog::AvdDialog(int minApiLevel, const QString &targetArch, const AndroidCo
|
||||
m_avdDialog.nameLineEdit->setValidator(v);
|
||||
m_avdDialog.nameLineEdit->installEventFilter(this);
|
||||
|
||||
m_avdDialog.warningIcon->setPixmap(QPixmap(QLatin1String(Core::Constants::ICON_WARNING)));
|
||||
m_avdDialog.warningIcon->setPixmap(Utils::ThemeHelper::themedIconPixmap(
|
||||
QLatin1String(Core::Constants::ICON_WARNING)));
|
||||
|
||||
updateApiLevelComboBox();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user