PythonEditor: Fix compilation

Introduced with edad1ba516

Change-Id: I45a0596dd4f0cd0a1b210d6d8b65157bb2112f2a
Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
This commit is contained in:
Christian Stenger
2015-07-28 16:09:48 +02:00
parent 19d20d26aa
commit 1a4f7e9e13

View File

@@ -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();