forked from qt-creator/qt-creator
		
	UiCodeCompletionSupport: Remove unused member
Change-Id: I37b3ea9165f43a743c42be7b95ad80b11e14f533 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
		@@ -44,7 +44,6 @@ UiCodeModelSupport::UiCodeModelSupport(CppModelManagerInterface *modelmanager,
 | 
			
		||||
    : AbstractEditorSupport(modelmanager),
 | 
			
		||||
      m_sourceName(source),
 | 
			
		||||
      m_fileName(uiHeaderFile),
 | 
			
		||||
      m_updateIncludingFiles(false),
 | 
			
		||||
      m_initialized(false)
 | 
			
		||||
{
 | 
			
		||||
    if (debug)
 | 
			
		||||
@@ -91,10 +90,6 @@ void UiCodeModelSupport::init() const
 | 
			
		||||
                qDebug()<<"uic run wasn't succesfull";
 | 
			
		||||
            m_cacheTime = QDateTime ();
 | 
			
		||||
            m_contents = QByteArray();
 | 
			
		||||
            // and if the header file wasn't there, next time we need to update
 | 
			
		||||
            // all of the files that include this header
 | 
			
		||||
            if (!uiHeaderFileInfo.exists())
 | 
			
		||||
                m_updateIncludingFiles = true;
 | 
			
		||||
            return;
 | 
			
		||||
        }
 | 
			
		||||
    } else {
 | 
			
		||||
 
 | 
			
		||||
@@ -61,7 +61,6 @@ private:
 | 
			
		||||
    bool runUic(const QString &ui) const;
 | 
			
		||||
    QString m_sourceName;
 | 
			
		||||
    QString m_fileName;
 | 
			
		||||
    mutable bool m_updateIncludingFiles;
 | 
			
		||||
    mutable bool m_initialized;
 | 
			
		||||
    mutable QByteArray m_contents;
 | 
			
		||||
    mutable QDateTime m_cacheTime;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user