Fixed uninitialized variable in GUI, found by self check (PR 3533)

This commit is contained in:
Daniel Marjamäki 2021-10-29 07:45:40 +02:00
parent 728531aba1
commit 20883a5a3f
1 changed files with 1 additions and 0 deletions

View File

@ -29,6 +29,7 @@ void Platforms::add(const QString &title, Settings::PlatformType platform)
Platform plat;
plat.mTitle = title;
plat.mType = platform;
plat.mActMainWindow = nullptr;
mPlatforms << plat;
}