forked from qt-creator/qt-creator
PythonEditor: Fix compilation
Introduced with edad1ba516
Change-Id: I45a0596dd4f0cd0a1b210d6d8b65157bb2112f2a
Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
This commit is contained in:
@@ -853,7 +853,7 @@ ProjectNode *PythonProject::rootProjectNode() const
|
||||
|
||||
bool PythonProject::fromMap(const QVariantMap &map)
|
||||
{
|
||||
if (!Project::fromMap(map))
|
||||
if (Project::fromMap(map, 0) != RestoreResult::Ok)
|
||||
return false;
|
||||
|
||||
Kit *defaultKit = KitManager::defaultKit();
|
||||
|
||||
Reference in New Issue
Block a user