mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-08 15:20:45 +01:00
DolphinQt: Remove workaround for Qt6.3 bug on Linux
This commit is contained in:
parent
05cad38abc
commit
7ae91b48b8
@ -9,10 +9,6 @@
|
||||
#include <Windows.h>
|
||||
#endif
|
||||
|
||||
#ifdef __linux__
|
||||
#include <cstdlib>
|
||||
#endif
|
||||
|
||||
#include <OptionParser.h>
|
||||
#include <QAbstractEventDispatcher>
|
||||
#include <QApplication>
|
||||
@ -140,16 +136,6 @@ int main(int argc, char* argv[])
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef __linux__
|
||||
// Qt 6.3+ has a bug which causes mouse inputs to not be registered in our XInput2 code.
|
||||
// If we define QT_XCB_NO_XI2, Qt's xcb platform plugin no longer initializes its XInput
|
||||
// code, which makes mouse inputs work again.
|
||||
// For more information: https://bugs.dolphin-emu.org/issues/12913
|
||||
#if (QT_VERSION >= QT_VERSION_CHECK(6, 3, 0))
|
||||
setenv("QT_XCB_NO_XI2", "1", true);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
QCoreApplication::setOrganizationName(QStringLiteral("Dolphin Emulator"));
|
||||
QCoreApplication::setOrganizationDomain(QStringLiteral("dolphin-emu.org"));
|
||||
QCoreApplication::setApplicationName(QStringLiteral("dolphin-emu"));
|
||||
|
Loading…
Reference in New Issue
Block a user