Fix comment typo

This commit is contained in:
Zheng, Lei
2022-03-04 11:50:50 +08:00
committed by wwmayer
parent af920dd625
commit 3e508dd7ed
2 changed files with 2 additions and 2 deletions

View File

@@ -201,7 +201,7 @@ be treated as shorctcut key sequence 'F, F'.</string>
</size>
</property>
<property name="toolTip">
<string>This list shows commands having the same shortcut in the priority from hight
<string>This list shows commands having the same shortcut in the priority from high
to low. If more than one command with the same shortcut are active at the
same time. The one with the highest prioirty will be triggered.</string>
</property>

View File

@@ -235,7 +235,7 @@ bool ShortcutManager::checkShortcut(QObject *o, const QKeySequence &key)
pendingActions.emplace_back(action, key.count(), 0);
}
if (flush) {
// We'll flush now because there is no poential match with further
// We'll flush now because there is no potential match with further
// keystrokes, so no need to wait for timer.
lastFocus = nullptr;
onTimer();