forked from qt-creator/qt-creator
Pedantic cleanup of filename parameters for QIcon constructor
Using more *::Constants::ICON_* where it makes sense and wrapping the file names into QLatin1String where they were missing. The increased usage of the ICON constants needed a few more cross plugin includes of *constants.h, here and there. I think that it is OK, since the dependencies were alredy there icon resource wise.
This commit is contained in:
@@ -115,7 +115,7 @@ LinearProgressWidget::LinearProgressWidget(WizardProgress *progress, QWidget *pa
|
||||
m_dotsItemWidget(0),
|
||||
m_disableUpdatesCount(0)
|
||||
{
|
||||
m_indicatorPixmap = QIcon::fromTheme("go-next", QIcon(QLatin1String(":/utils/images/arrow.png"))).pixmap(16);
|
||||
m_indicatorPixmap = QIcon::fromTheme(QLatin1String("go-next"), QIcon(QLatin1String(":/utils/images/arrow.png"))).pixmap(16);
|
||||
m_wizardProgress = progress;
|
||||
m_mainLayout = new QVBoxLayout(this);
|
||||
m_itemWidgetLayout = new QVBoxLayout();
|
||||
|
||||
Reference in New Issue
Block a user