Initialize variable

Change-Id: Ibcccd93fd4654a087c323fde08dbadb64d22156c
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
This commit is contained in:
Lars Knoll 2020-05-26 12:43:16 +02:00
parent 6456893c0b
commit a989c98393

View File

@ -132,7 +132,7 @@ namespace {
Path() {}
Path(const QString & p, bool ud) : path(p), userDefined(ud) {}
QString path;
bool userDefined; //!< true - user defined, overridden by setPath
bool userDefined = false; //!< true - user defined, overridden by setPath
};
}
typedef QHash<int, Path> PathHash;