forked from qt-creator/qt-creator
Project: Improve fromMap() error reporting interface
Instead of just a bool, return a tristate of: Ok, Error and UserAbort. Also add a out parameter errorMessgge. Change-Id: Icb076de49998e9372839d0631c2776e905e4a0f6 Task-number: QTCREATORBUG-13223 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
This commit is contained in:
@@ -118,7 +118,7 @@ signals:
|
||||
void buildTargetsChanged();
|
||||
|
||||
protected:
|
||||
bool fromMap(const QVariantMap &map);
|
||||
RestoreResult fromMap(const QVariantMap &map, QString *errorMessage);
|
||||
bool setupTarget(ProjectExplorer::Target *t);
|
||||
|
||||
// called by CMakeBuildSettingsWidget
|
||||
|
||||
Reference in New Issue
Block a user