forked from qt-creator/qt-creator
		
	CppEditor: Remove WorkingCopy::get(QString) overload
... and fix fallout. Change-Id: I8fe67616f8f327428b1c166ae69ec34c2924ee9f Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
		| @@ -2014,7 +2014,7 @@ void Preprocessor::handleIfDefDirective(bool checkUndefined, PPToken *tk) | ||||
|  | ||||
|             // the macro is a feature constraint(e.g. QT_NO_XXX) | ||||
|             if (checkUndefined && macroName.startsWith("QT_NO_")) { | ||||
|                 if (macro->fileName() == configurationFileName().pathView()) { | ||||
|                 if (macro->filePath() == configurationFileName()) { | ||||
|                     // and it' defined in a pro file (e.g. DEFINES += QT_NO_QOBJECT) | ||||
|  | ||||
|                     value = false; // take the branch | ||||
|   | ||||
		Reference in New Issue
	
	Block a user