Build fix

Change-Id: I4a2ff7292d7b14017d1528e6aeaa68a77b906178
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
Tobias Hunger
2012-04-25 13:06:25 +02:00
parent fab38eb621
commit 75ca41be18

View File

@@ -322,7 +322,7 @@ bool Project::fromMap(const QVariantMap &map)
Core::Id id = idFromMap(targetMap);
if (target(id)) {
qWarning("Warning: Duplicated target id found, not restoring second target with id '%s'. Continuing.",
qPrintable(id.name()));
qPrintable(id.toString()));
} else {
foreach (ITargetFactory *factory, factories) {
if (factory->canRestore(this, targetMap)) {
@@ -332,7 +332,7 @@ bool Project::fromMap(const QVariantMap &map)
}
if (!t) {
qWarning("Warning: Unable to restore target '%s'. Continuing.", qPrintable(id.name()));
qWarning("Warning: Unable to restore target '%s'. Continuing.", qPrintable(id.toString()));
continue;
}
addTarget(t);