forked from qt-creator/qt-creator
Icons: Move "next/prev", "[un]locked" and "zoom" from Core to Utils
They are needed in the timeline view. The change in qtcreator-project.qdocconf makes sure that qdoc still finds the referenced icons. Change-Id: I812fba8e57d06d93efc00c295467c83c08cd1784 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
This commit is contained in:
@@ -42,6 +42,7 @@
|
||||
#include <utils/qtcassert.h>
|
||||
#include <utils/stylehelper.h>
|
||||
#include <utils/theme/theme.h>
|
||||
#include <utils/utilsicons.h>
|
||||
|
||||
#include <QDebug>
|
||||
#include <QSettings>
|
||||
@@ -962,9 +963,9 @@ void FindToolBar::setLightColoredIcon(bool lightColored)
|
||||
m_ui.findPreviousButton->setArrowType(Qt::LeftArrow);
|
||||
m_ui.close->setIcon(Icons::CLOSE_FOREGROUND.icon());
|
||||
} else {
|
||||
m_ui.findNextButton->setIcon(Icons::NEXT_TOOLBAR.icon());
|
||||
m_ui.findNextButton->setIcon(Utils::Icons::NEXT_TOOLBAR.icon());
|
||||
m_ui.findNextButton->setArrowType(Qt::NoArrow);
|
||||
m_ui.findPreviousButton->setIcon(Icons::PREV_TOOLBAR.icon());
|
||||
m_ui.findPreviousButton->setIcon(Utils::Icons::PREV_TOOLBAR.icon());
|
||||
m_ui.findPreviousButton->setArrowType(Qt::NoArrow);
|
||||
m_ui.close->setIcon(Icons::CLOSE_TOOLBAR.icon());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user