Actions
Bug #2073
openQt: Bitwise operation between enum types deprecated in g++-16
Start date:
07/04/2026
Due date:
% Done:
0%
Estimated time:
Description
S3_3 compilation with g++-16:
../../../../src/client/gui-qt/fc_client.cpp: In member function 'void fc_client::fc_main(QApplication*)':
../../../../src/client/gui-qt/fc_client.cpp:265:66: warning: bitwise operation between different enumeration types 'Qt::Modifier' and 'Qt::Key' is deprecated [-Wdeprecated-enum-enum-conversion]
265 | QShortcut *quit_shortcut = new QShortcut(QKeySequence(Qt::CTRL | Qt::Key_Q), this);
| ~~~~~~~^~~~~~~~~~~
Files
Actions