diff --git a/src/libs/utils/utilsicons.cpp b/src/libs/utils/utilsicons.cpp index ace500356a4..39abc087327 100644 --- a/src/libs/utils/utilsicons.cpp +++ b/src/libs/utils/utilsicons.cpp @@ -178,6 +178,7 @@ const Icon COLLAPSE({ {QLatin1String(":/utils/images/collapse.png"), Theme::PanelTextColorMid}}, Icon::Tint); const Icon COLLAPSE_TOOLBAR({ {QLatin1String(":/utils/images/collapse.png"), Theme::IconsBaseColor}}); +const Icon EMPTY14(":/utils/images/empty14.png"); } // namespace Icons } // namespace Utils diff --git a/src/libs/utils/utilsicons.h b/src/libs/utils/utilsicons.h index 163e0fd746a..1d7ebbe0f6d 100644 --- a/src/libs/utils/utilsicons.h +++ b/src/libs/utils/utilsicons.h @@ -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 COLLAPSE; QTCREATOR_UTILS_EXPORT extern const Icon COLLAPSE_TOOLBAR; +QTCREATOR_UTILS_EXPORT extern const Icon EMPTY14; } // namespace Icons } // namespace Utils diff --git a/src/plugins/coreplugin/editormanager/openeditorswindow.cpp b/src/plugins/coreplugin/editormanager/openeditorswindow.cpp index 0bcd283075c..f937f43663d 100644 --- a/src/plugins/coreplugin/editormanager/openeditorswindow.cpp +++ b/src/plugins/coreplugin/editormanager/openeditorswindow.cpp @@ -32,6 +32,7 @@ #include #include +#include #include #include @@ -52,7 +53,7 @@ enum class Role OpenEditorsWindow::OpenEditorsWindow(QWidget *parent) : QFrame(parent, Qt::Popup), - m_emptyIcon(QLatin1String(":/core/images/empty14.png")), + m_emptyIcon(Utils::Icons::EMPTY14.icon()), m_editorList(new OpenEditorsTreeWidget(this)) { setMinimumSize(300, 200);