Commit c9c99245 authored by dt's avatar dt
Browse files

Fix uninitialized member

parent cd945917
......@@ -168,9 +168,12 @@ private slots:
private:
struct VersionInfo {
VersionInfo() {}
VersionInfo()
: versionId(-1)
{}
VersionInfo(const QString &d, int v)
: displayName(d), versionId(v) { }
: displayName(d), versionId(v)
{}
QString displayName;
int versionId;
};
......
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