forked from qt-creator/qt-creator
Centralize error/warning/info icons
There are multiple copies of these pngs in different plugins. Let's have one version in core, also as @2x variant. Change-Id: Iedff1a6190a72c1947dd202ae1ee46f59f9fb13c Reviewed-by: Kai Koehne <kai.koehne@digia.com> Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
This commit is contained in:
@@ -33,6 +33,7 @@
|
||||
#include "androidmanifestdocument.h"
|
||||
#include "androidmanager.h"
|
||||
|
||||
#include <coreplugin/coreconstants.h>
|
||||
#include <coreplugin/icore.h>
|
||||
#include <coreplugin/infobar.h>
|
||||
#include <coreplugin/editormanager/ieditor.h>
|
||||
@@ -165,7 +166,7 @@ void AndroidManifestEditorWidget::initializePage()
|
||||
m_packageNameWarning->setVisible(false);
|
||||
|
||||
m_packageNameWarningIcon = new QLabel;
|
||||
m_packageNameWarningIcon->setPixmap(QPixmap(QLatin1String(ProjectExplorer::Constants::ICON_WARNING)));
|
||||
m_packageNameWarningIcon->setPixmap(QPixmap(QLatin1String(Core::Constants::ICON_WARNING)));
|
||||
m_packageNameWarningIcon->setVisible(false);
|
||||
m_packageNameWarningIcon->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
|
||||
|
||||
|
Reference in New Issue
Block a user