Skip to content

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

Merged
kaamui merged 1 commit intoOpenBoard-org:devfrom
Vekhir:use-pipe-to-combine
Sep 4, 2024
Merged

refactor(UBMainWindow): Use | to combine keys#1051
kaamui merged 1 commit intoOpenBoard-org:devfrom
Vekhir:use-pipe-to-combine

Conversation

@Vekhir
Copy link
Copy Markdown
Contributor

@Vekhir Vekhir commented Aug 14, 2024

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

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.
@kaamui kaamui merged commit 2423412 into OpenBoard-org:dev Sep 4, 2024
@Vekhir Vekhir deleted the use-pipe-to-combine branch September 4, 2024 12:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants