diff options
| author | 2018-11-22 21:00:42 -0500 | |
|---|---|---|
| committer | 2018-12-03 17:26:27 -0500 | |
| commit | 6deccc7e6b7a242c94e4e54cc805c5ee390a5284 (patch) | |
| tree | f50ea2ffe0217e8ba7a4543c7923719f6652c3d6 /src | |
| parent | core: Add getter/setter for ProfileSelector in System (diff) | |
| download | yuzu-6deccc7e6b7a242c94e4e54cc805c5ee390a5284.tar.gz yuzu-6deccc7e6b7a242c94e4e54cc805c5ee390a5284.tar.xz yuzu-6deccc7e6b7a242c94e4e54cc805c5ee390a5284.zip | |
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 @@ | |||
| 8 | #include <thread> | 8 | #include <thread> |
| 9 | 9 | ||
| 10 | // VFS includes must be before glad as they will conflict with Windows file api, which uses defines. | 10 | // VFS includes must be before glad as they will conflict with Windows file api, which uses defines. |
| 11 | #include "applets/profile_select.h" | ||
| 11 | #include "applets/software_keyboard.h" | 12 | #include "applets/software_keyboard.h" |
| 12 | #include "core/file_sys/vfs.h" | 13 | #include "core/file_sys/vfs.h" |
| 13 | #include "core/file_sys/vfs_real.h" | 14 | #include "core/file_sys/vfs_real.h" |
| @@ -571,6 +572,7 @@ bool GMainWindow::LoadROM(const QString& filename) { | |||
| 571 | 572 | ||
| 572 | system.SetGPUDebugContext(debug_context); | 573 | system.SetGPUDebugContext(debug_context); |
| 573 | 574 | ||
| 575 | system.SetProfileSelector(std::make_unique<QtProfileSelector>(*this)); | ||
| 574 | system.SetSoftwareKeyboard(std::make_unique<QtSoftwareKeyboard>(*this)); | 576 | system.SetSoftwareKeyboard(std::make_unique<QtSoftwareKeyboard>(*this)); |
| 575 | 577 | ||
| 576 | const Core::System::ResultStatus result{system.Load(*render_window, filename.toStdString())}; | 578 | const Core::System::ResultStatus result{system.Load(*render_window, filename.toStdString())}; |