mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Fix mouse/keyboard input on Windows.
This commit is contained in:
@@ -50,6 +50,10 @@ Launcher::Launcher(int argc, char *argv[])
|
||||
}
|
||||
|
||||
void Launcher::initHook() {
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0)
|
||||
QApplication::setAttribute(Qt::AA_DisableSessionManager, true);
|
||||
#endif // Qt >= 5.14
|
||||
|
||||
QApplication::setDesktopFileName(GetLauncherFilename());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user