forked from qt-creator/qt-creator
Move icons to Utils
This way we can use them from libraries, not only from plugins. Change-Id: Ic35cfd5f04d638d87606bf272b2c00ded1267c1b Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -29,7 +29,6 @@
|
||||
#include "cmakeproject.h"
|
||||
#include "cmakebuildconfiguration.h"
|
||||
|
||||
#include <coreplugin/coreicons.h>
|
||||
#include <coreplugin/icore.h>
|
||||
#include <coreplugin/find/itemviewfind.h>
|
||||
#include <projectexplorer/projectexplorer.h>
|
||||
@@ -39,6 +38,7 @@
|
||||
#include <utils/headerviewstretcher.h>
|
||||
#include <utils/pathchooser.h>
|
||||
#include <utils/itemviews.h>
|
||||
#include <utils/utilsicons.h>
|
||||
|
||||
#include <QBoxLayout>
|
||||
#include <QCheckBox>
|
||||
@@ -100,7 +100,7 @@ CMakeBuildSettingsWidget::CMakeBuildSettingsWidget(CMakeBuildConfiguration *bc)
|
||||
|
||||
++row;
|
||||
m_errorLabel = new QLabel;
|
||||
m_errorLabel->setPixmap(Core::Icons::ERROR.pixmap());
|
||||
m_errorLabel->setPixmap(Utils::Icons::ERROR.pixmap());
|
||||
m_errorLabel->setVisible(false);
|
||||
m_errorMessageLabel = new QLabel;
|
||||
m_errorMessageLabel->setVisible(false);
|
||||
@@ -111,7 +111,7 @@ CMakeBuildSettingsWidget::CMakeBuildSettingsWidget(CMakeBuildConfiguration *bc)
|
||||
|
||||
++row;
|
||||
m_warningLabel = new QLabel;
|
||||
m_warningLabel->setPixmap(Core::Icons::WARNING.pixmap());
|
||||
m_warningLabel->setPixmap(Utils::Icons::WARNING.pixmap());
|
||||
m_warningLabel->setVisible(false);
|
||||
m_warningMessageLabel = new QLabel;
|
||||
m_warningMessageLabel->setVisible(false);
|
||||
|
||||
Reference in New Issue
Block a user