Fix wrong icon path

Regression introduced by 15fbfaf2e9

Change-Id: I795519fbf8f0370399583af8268bb4cc6bd3530d
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
This commit is contained in:
Eike Ziller
2016-08-22 11:44:54 +02:00
parent 05a965f161
commit 285c8a7543
3 changed files with 4 additions and 1 deletions

View File

@@ -178,6 +178,7 @@ const Icon COLLAPSE({
{QLatin1String(":/utils/images/collapse.png"), Theme::PanelTextColorMid}}, Icon::Tint); {QLatin1String(":/utils/images/collapse.png"), Theme::PanelTextColorMid}}, Icon::Tint);
const Icon COLLAPSE_TOOLBAR({ const Icon COLLAPSE_TOOLBAR({
{QLatin1String(":/utils/images/collapse.png"), Theme::IconsBaseColor}}); {QLatin1String(":/utils/images/collapse.png"), Theme::IconsBaseColor}});
const Icon EMPTY14(":/utils/images/empty14.png");
} // namespace Icons } // namespace Icons
} // namespace Utils } // namespace Utils

View File

@@ -105,6 +105,7 @@ QTCREATOR_UTILS_EXPORT extern const Icon EXPAND;
QTCREATOR_UTILS_EXPORT extern const Icon EXPAND_TOOLBAR; QTCREATOR_UTILS_EXPORT extern const Icon EXPAND_TOOLBAR;
QTCREATOR_UTILS_EXPORT extern const Icon COLLAPSE; QTCREATOR_UTILS_EXPORT extern const Icon COLLAPSE;
QTCREATOR_UTILS_EXPORT extern const Icon COLLAPSE_TOOLBAR; QTCREATOR_UTILS_EXPORT extern const Icon COLLAPSE_TOOLBAR;
QTCREATOR_UTILS_EXPORT extern const Icon EMPTY14;
} // namespace Icons } // namespace Icons
} // namespace Utils } // namespace Utils

View File

@@ -32,6 +32,7 @@
#include <utils/hostosinfo.h> #include <utils/hostosinfo.h>
#include <utils/qtcassert.h> #include <utils/qtcassert.h>
#include <utils/utilsicons.h>
#include <QFocusEvent> #include <QFocusEvent>
#include <QHeaderView> #include <QHeaderView>
@@ -52,7 +53,7 @@ enum class Role
OpenEditorsWindow::OpenEditorsWindow(QWidget *parent) : OpenEditorsWindow::OpenEditorsWindow(QWidget *parent) :
QFrame(parent, Qt::Popup), QFrame(parent, Qt::Popup),
m_emptyIcon(QLatin1String(":/core/images/empty14.png")), m_emptyIcon(Utils::Icons::EMPTY14.icon()),
m_editorList(new OpenEditorsTreeWidget(this)) m_editorList(new OpenEditorsTreeWidget(this))
{ {
setMinimumSize(300, 200); setMinimumSize(300, 200);