Skip to content
Snippets Groups Projects
Commit c9c99245 authored by dt's avatar dt
Browse files

Fix uninitialized member

parent cd945917
No related branches found
No related tags found
No related merge requests found
......@@ -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;
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment