Browse Source

qt: fix uninitialized memory usage

Liam 3 năm trước cách đây
mục cha
commit
646656412f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;