OpenBoard-org / OpenBoard

OpenBoard is a cross-platform interactive whiteboard application intended for use in a classroom setting.
https://openboard.ch/
GNU General Public License v3.0
2.34k stars 423 forks source link

refactor(UBMainWindow): Use | to combine keys #1051

Closed Vekhir closed 3 weeks ago

Vekhir commented 1 month ago

Addition between enums is deprecated, and in Qt6 support for the + operator between modifiers and keys gets deprecated. Instead, the | operator is provided.

The | operator is supported in both Qt5 and Qt6.

Resolves warning 4 in #1046