Fixed uninitialized variable in GUI, found by self check (PR 3533)
This commit is contained in:
parent
728531aba1
commit
20883a5a3f
|
@ -29,6 +29,7 @@ void Platforms::add(const QString &title, Settings::PlatformType platform)
|
||||||
Platform plat;
|
Platform plat;
|
||||||
plat.mTitle = title;
|
plat.mTitle = title;
|
||||||
plat.mType = platform;
|
plat.mType = platform;
|
||||||
|
plat.mActMainWindow = nullptr;
|
||||||
mPlatforms << plat;
|
mPlatforms << plat;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue