diff --git a/src/plugins/platformthemes/xdgdesktopportal/qxdgdesktopportaltheme.cpp b/src/plugins/platformthemes/xdgdesktopportal/qxdgdesktopportaltheme.cpp index 30c43b67dc..fb324afbd8 100644 --- a/src/plugins/platformthemes/xdgdesktopportal/qxdgdesktopportaltheme.cpp +++ b/src/plugins/platformthemes/xdgdesktopportal/qxdgdesktopportaltheme.cpp @@ -65,7 +65,7 @@ public: delete baseTheme; } - QPlatformTheme *baseTheme; + QPlatformTheme *baseTheme = nullptr; uint fileChooserPortalVersion = 0; };