Skip to content

Commit

Permalink
Add reference to Qt documentatiion
Browse files Browse the repository at this point in the history
Fixes #29021
  • Loading branch information
YoannQDQ authored and nyalldawson committed Jan 17, 2023
1 parent a4212ee commit 8973eb0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app/main.cpp
Expand Up @@ -894,9 +894,9 @@ int main( int argc, char *argv[] )

#if defined(Q_OS_WIN)
// FIXES #29021
// Prevent Qt from treating the AltGr key as Ctrl+Alt on Windows,
// which causes shortcuts to be fired instead of entering some characters (eg "}", "|")
// on some keyboard layouts
// Prevent Qt from treating the AltGr key as Ctrl+Alt on Windows, which causes shortcuts to be fired
// instead of entering some characters (eg "}", "|") on some keyboard layouts
// See https://doc.qt.io/qt-6/qguiapplication.html#platform-specific-arguments
qputenv( "QT_QPA_PLATFORM", "windows:altgr" );
#endif

Expand Down

0 comments on commit 8973eb0

Please sign in to comment.