Commit b910b364 authored by Tobias Hunger's avatar Tobias Hunger

CMake: Also treat "yes" as true for boolean settings

Change-Id: I78426ec5b6b2cf0a1d4cca26202632b27e2036e9
Reviewed-by: default avatarTim Jenssen <tim.jenssen@theqtcompany.com>
parent fd761cd7
......@@ -35,7 +35,8 @@ namespace CMakeProjectManager {
static bool isTrue(const QString &value)
{
const QString lower = value.toLower();
return lower == QStringLiteral("true") || lower == QStringLiteral("on") || lower == QStringLiteral("1");
return lower == QStringLiteral("true") || lower == QStringLiteral("on")
|| lower == QStringLiteral("1") || lower == QStringLiteral("yes");
}
ConfigModel::ConfigModel(QObject *parent) : QAbstractTableModel(parent)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment