Ref T689 Settings validation can produce more descriptive error messages.

This commit is contained in:
Mat Sutcliffe
2019-06-23 17:08:45 +01:00
parent 6f9f6ccc9d
commit 668a77d083
16 changed files with 34 additions and 21 deletions

View File

@@ -97,7 +97,7 @@ namespace BlackMisc
static const QString &humanReadable() { static const QString name("swift plugin"); return name; }
//! \copydoc BlackMisc::TSettingTrait::isValid
static bool isValid(const CSwiftPluginSettings &value) { return value.getEmulatedSimulator().isSingleSimulator(); }
static bool isValid(const CSwiftPluginSettings &value, QString &) { return value.getEmulatedSimulator().isSingleSimulator(); }
};
} // ns
} // ns