Эх сурвалжийг харах

qt: fix uninitialized memory usage

Liam 3 жил өмнө
parent
commit
646656412f
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      src/yuzu/main.h

+ 1 - 1
src/yuzu/main.h

@@ -390,7 +390,7 @@ private:
     GameList* game_list;
     LoadingScreen* loading_screen;
     QTimer shutdown_timer;
-    OverlayDialog* shutdown_dialog;
+    OverlayDialog* shutdown_dialog{};
 
     GameListPlaceholder* game_list_placeholder;