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:
@@ -35,6 +35,7 @@
|
||||
#include <find/basetextfind.h>
|
||||
#include <aggregation/aggregate.h>
|
||||
#include <extensionsystem/pluginmanager.h>
|
||||
#include <qt4projectmanager/qt4projectmanagerconstants.h>
|
||||
|
||||
#include <QtGui/QKeyEvent>
|
||||
#include <QtGui/QIcon>
|
||||
@@ -56,7 +57,7 @@ CompileOutputWindow::CompileOutputWindow(BuildManager * /*bm*/)
|
||||
{
|
||||
m_outputWindow = new OutputWindow();
|
||||
m_outputWindow->setWindowTitle(tr("Compile Output"));
|
||||
m_outputWindow->setWindowIcon(QIcon(":/qt4projectmanager/images/window.png"));
|
||||
m_outputWindow->setWindowIcon(QIcon(QLatin1String(Qt4ProjectManager::Constants::ICON_WINDOW)));
|
||||
m_outputWindow->setReadOnly(true);
|
||||
|
||||
Aggregation::Aggregate *agg = new Aggregation::Aggregate;
|
||||
|
||||
Reference in New Issue
Block a user