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:
@@ -33,6 +33,8 @@
|
||||
|
||||
#include <QtCore/QLibrary>
|
||||
|
||||
#include <coreplugin/coreconstants.h>
|
||||
|
||||
#include <utils/qtcassert.h>
|
||||
#include <utils/stylehelper.h>
|
||||
|
||||
@@ -141,7 +143,7 @@ ManhattanStylePrivate::ManhattanStylePrivate() :
|
||||
lineeditImage(QLatin1String(":/core/images/inputfield.png")),
|
||||
lineeditImage_disabled(QLatin1String(":/core/images/inputfield_disabled.png")),
|
||||
extButtonPixmap(QLatin1String(":/core/images/extension.png")),
|
||||
closeButtonPixmap(QLatin1String(":/core/images/closebutton.png"))
|
||||
closeButtonPixmap(QLatin1String(Core::Constants::ICON_CLOSE))
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user