forked from qt-creator/qt-creator
SDKtool: Warn if file is not found
Change-Id: I3f4dd1ec04220ffedfa22f732211f1253d1b2202 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
committed by
Tim Jenssen
parent
396ee16635
commit
274d3a8c79
@@ -102,6 +102,8 @@ QVariantMap Operation::load(const QString &file)
|
||||
if (!reader.load(path))
|
||||
return QVariantMap();
|
||||
map = reader.restoreValues();
|
||||
} else {
|
||||
std::cerr << "File " << qPrintable(path.toUserOutput()) << " not found." << std::endl;
|
||||
}
|
||||
|
||||
return map;
|
||||
|
Reference in New Issue
Block a user