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:
		@@ -51,8 +51,8 @@ namespace Internal {
 | 
			
		||||
////////////////////////////////////////////////////////////////////////
 | 
			
		||||
 | 
			
		||||
StackHandler::StackHandler(DebuggerEngine *engine)
 | 
			
		||||
  : m_positionIcon(QIcon(":/debugger/images/location_16.png")),
 | 
			
		||||
    m_emptyIcon(QIcon(":/debugger/images/debugger_empty_14.png"))
 | 
			
		||||
  : m_positionIcon(QIcon(QLatin1String(":/debugger/images/location_16.png"))),
 | 
			
		||||
    m_emptyIcon(QIcon(QLatin1String(":/debugger/images/debugger_empty_14.png")))
 | 
			
		||||
{
 | 
			
		||||
    m_engine = engine;
 | 
			
		||||
    m_disassemblerViewAgent = new DisassemblerViewAgent(engine);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user