mirror of
https://github.com/PabloMK7/citra.git
synced 2025-09-11 05:10:05 +00:00
Add warning popup when loading save states for the first time (#6565)
* citra_qt: Remove global state usage in GMainWindow * citra_qt: Add warning when loadings saves for the first time * citra_qt: Focus window when launching game from cmdline * citra_qt: Cleanup nullptr checks * citra_qt: Move setting to UISettings * renderer_opengl: Remove header
This commit is contained in:
parent
52f88f8fb4
commit
5b7cc76ba3
6 changed files with 85 additions and 80 deletions
|
@ -11,7 +11,6 @@
|
|||
#include <QTranslator>
|
||||
#include "citra_qt/compatibility_list.h"
|
||||
#include "citra_qt/hotkeys.h"
|
||||
#include "common/announce_multiplayer_room.h"
|
||||
#include "core/core.h"
|
||||
#include "core/savestate.h"
|
||||
|
||||
|
@ -57,6 +56,10 @@ namespace DiscordRPC {
|
|||
class DiscordInterface;
|
||||
}
|
||||
|
||||
namespace Core {
|
||||
class Movie;
|
||||
}
|
||||
|
||||
namespace Ui {
|
||||
class MainWindow;
|
||||
}
|
||||
|
@ -83,7 +86,7 @@ public:
|
|||
void filterBarSetChecked(bool state);
|
||||
void UpdateUITheme();
|
||||
|
||||
GMainWindow();
|
||||
explicit GMainWindow(Core::System& system);
|
||||
~GMainWindow();
|
||||
|
||||
GameList* game_list;
|
||||
|
@ -260,6 +263,8 @@ private:
|
|||
void OpenPerGameConfiguration(u64 title_id, const QString& file_name);
|
||||
|
||||
std::unique_ptr<Ui::MainWindow> ui;
|
||||
Core::System& system;
|
||||
Core::Movie& movie;
|
||||
|
||||
GRenderWindow* render_window;
|
||||
GRenderWindow* secondary_window;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue