diff options
| author | crueter <crueter@eden-emu.dev> | 2026-03-10 05:37:45 +0100 |
|---|---|---|
| committer | crueter <crueter@eden-emu.dev> | 2026-03-10 05:37:45 +0100 |
| commit | 0ff1d215c81bda45e84c45d0dddb1f7ffb81f7b1 (patch) | |
| tree | 5c5da4c6ae10d26e369d2f23cf6059039bf3d7f8 /src/qt_common/qt_common.cpp | |
| parent | 07e3a2aa46d1b8e9e28fdc3b306d1628e5c92f3e (diff) | |
[desktop] Port some QtCommon changes from QML branch (#3703)
- Linker now resolves implementation differences
- Remove unneeded ifdefs
- Better abstractions overall
Signed-off-by: crueter <crueter@eden-emu.dev>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3703
Reviewed-by: Lizzie <lizzie@eden-emu.dev>
Reviewed-by: CamilleLaVey <camillelavey99@gmail.com>
Diffstat (limited to 'src/qt_common/qt_common.cpp')
| -rw-r--r-- | src/qt_common/qt_common.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/qt_common/qt_common.cpp b/src/qt_common/qt_common.cpp index af4e4ffa61..8954bf09f2 100644 --- a/src/qt_common/qt_common.cpp +++ b/src/qt_common/qt_common.cpp @@ -3,19 +3,14 @@ #include "qt_common.h" #include "common/fs/fs.h" -#include "common/fs/ryujinx_compat.h" #include <QGuiApplication> #include <QStringLiteral> #include "common/logging/log.h" #include "core/frontend/emu_window.h" -#include "qt_common/abstract/frontend.h" -#include "qt_common/qt_string_lookup.h" #include <QFile> -#include <QMessageBox> - #include <JlCompress.h> #if !defined(WIN32) && !defined(__APPLE__) @@ -27,11 +22,7 @@ namespace QtCommon { -#ifdef YUZU_QT_WIDGETS QWidget* rootObject = nullptr; -#else -QObject* rootObject = nullptr; -#endif std::unique_ptr<Core::System> system = nullptr; std::shared_ptr<FileSys::RealVfsFilesystem> vfs = nullptr; @@ -118,11 +109,7 @@ const QString tr(const std::string& str) return QGuiApplication::tr(str.c_str()); } -#ifdef YUZU_QT_WIDGETS void Init(QWidget* root) -#else -void Init(QObject* root) -#endif { system = std::make_unique<Core::System>(); rootObject = root; |
