From 20883a5a3f955b433916484e4ef32e078403d4ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Fri, 29 Oct 2021 07:45:40 +0200 Subject: [PATCH] Fixed uninitialized variable in GUI, found by self check (PR 3533) --- gui/platforms.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/gui/platforms.cpp b/gui/platforms.cpp index ff9c075ab..1daef2bf2 100644 --- a/gui/platforms.cpp +++ b/gui/platforms.cpp @@ -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; }