diff options
author | Zach Hilman <zachhilman@gmail.com> | 2018-11-22 21:00:42 -0500 |
---|---|---|
committer | Zach Hilman <zachhilman@gmail.com> | 2018-12-03 17:26:27 -0500 |
commit | 6deccc7e6b7a242c94e4e54cc805c5ee390a5284 (patch) | |
tree | f50ea2ffe0217e8ba7a4543c7923719f6652c3d6 /src | |
parent | 58fd0a1c50912f28457eae974dfe928463ceb0c2 (diff) |
qt: Register to use Qt ProfileSelector instead of default
Diffstat (limited to 'src')
-rw-r--r-- | src/yuzu/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index 22c207a3a..b39bf1903 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp @@ -8,6 +8,7 @@ #include <thread> // VFS includes must be before glad as they will conflict with Windows file api, which uses defines. +#include "applets/profile_select.h" #include "applets/software_keyboard.h" #include "core/file_sys/vfs.h" #include "core/file_sys/vfs_real.h" @@ -571,6 +572,7 @@ bool GMainWindow::LoadROM(const QString& filename) { system.SetGPUDebugContext(debug_context); + system.SetProfileSelector(std::make_unique<QtProfileSelector>(*this)); system.SetSoftwareKeyboard(std::make_unique<QtSoftwareKeyboard>(*this)); const Core::System::ResultStatus result{system.Load(*render_window, filename.toStdString())}; |