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:
@@ -30,7 +30,7 @@
|
||||
#include "genericlinuxdeviceconfigurationwidget.h"
|
||||
#include "ui_genericlinuxdeviceconfigurationwidget.h"
|
||||
|
||||
#include <projectexplorer/projectexplorerconstants.h>
|
||||
#include <coreplugin/coreconstants.h>
|
||||
#include <utils/portlist.h>
|
||||
#include <utils/fancylineedit.h>
|
||||
#include <ssh/sshconnection.h>
|
||||
@@ -180,7 +180,7 @@ void GenericLinuxDeviceConfigurationWidget::initGui()
|
||||
m_ui->machineTypeValueLabel->setText(tr("Physical Device"));
|
||||
else
|
||||
m_ui->machineTypeValueLabel->setText(tr("Emulator"));
|
||||
m_ui->portsWarningLabel->setPixmap(QPixmap(QLatin1String(ProjectExplorer::Constants::ICON_ERROR)));
|
||||
m_ui->portsWarningLabel->setPixmap(QPixmap(QLatin1String(Core::Constants::ICON_ERROR)));
|
||||
m_ui->portsWarningLabel->setToolTip(QLatin1String("<font color=\"red\">")
|
||||
+ tr("You will need at least one port.") + QLatin1String("</font>"));
|
||||
m_ui->keyFileLineEdit->setExpectedKind(PathChooser::File);
|
||||
|
||||
Reference in New Issue
Block a user