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:
@@ -230,6 +230,13 @@ const char * const ICON_REPLACE = ":/core/images/replace.png";
|
||||
const char * const ICON_RESET = ":/core/images/reset.png";
|
||||
const char * const ICON_MAGNIFIER = ":/core/images/magnifier.png";
|
||||
const char * const ICON_TOGGLE_SIDEBAR = ":/core/images/sidebaricon.png";
|
||||
const char * const ICON_CLOSE = ":/core/images/closebutton.png";
|
||||
const char * const ICON_CLOSE_DARK = ":/core/images/darkclosebutton.png";
|
||||
const char * const ICON_SPLIT_HORIZONTAL = ":/core/images/splitbutton_horizontal.png";
|
||||
const char * const ICON_FILTER = ":/core/images/filtericon.png";
|
||||
const char * const ICON_LINK = ":/core/images/linkicon.png";
|
||||
const char * const ICON_QTLOGO_32 = ":/core/images/qtcreator_logo_32.png";
|
||||
const char * const ICON_QTLOGO_128 = ":/core/images/qtcreator_logo_128.png";
|
||||
|
||||
const char * const WIZARD_CATEGORY_QT = "R.Qt";
|
||||
const char * const WIZARD_TR_CATEGORY_QT = QT_TRANSLATE_NOOP("Core", "Qt");
|
||||
|
||||
Reference in New Issue
Block a user