Skip to content

Commit

Permalink
fix: use QKeyCombination::toCombined()
Browse files Browse the repository at this point in the history
  • Loading branch information
gfgit authored and romangg committed Mar 5, 2024
1 parent 58dd420 commit e989441
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions como/win/tabbox/tabbox.h
Original file line number Diff line number Diff line change
Expand Up @@ -441,11 +441,11 @@ class tabbox
mods &= keyQt;
if (((keyQt & ~mods) == Qt::Key_Tab) || ((keyQt & ~mods) == Qt::Key_Backtab)) {
if (contains(forward, QKeyCombination(mods, Qt::Key_Backtab).toCombined())
|| contains(forward, QKeyCombination(mods, Qt::Key_Tab))) {
|| contains(forward, QKeyCombination(mods, Qt::Key_Tab).toCombined())) {
return Forward;
}
if (contains(backward, QKeyCombination(mods, Qt::Key_Backtab).toCombined())
|| contains(backward, QKeyCombination(mods, Qt::Key_Tab))) {
|| contains(backward, QKeyCombination(mods, Qt::Key_Tab).toCombined())) {
return Backward;
}
}
Expand Down

0 comments on commit e989441

Please sign in to comment.