Skip to content

Commit

Permalink
Fixed a syntax error on Linux, minor increment operator speed bump.
Browse files Browse the repository at this point in the history
  • Loading branch information
ckaiser committed Apr 20, 2016
1 parent 00ed33e commit cda769b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hotkeymap.h
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ inline UKeyData QtKeyToLinux(const UKeySequence &keySeq)
} else if (data.key >= Qt::Key_Space && data.key <= Qt::Key_QuoteLeft) {
// conversion is not necessary, if the value in the range Qt::Key_Space - Qt::Key_QuoteLeft
} else {
qWarning() << "Invalid hotkey: key conversion is not defined");
qWarning() << "Invalid hotkey: key conversion is not defined";
return data;
}

Expand Down
2 changes: 1 addition & 1 deletion uglobalhotkeys.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ void UGlobalHotkeys::unregisterAllHotkeys()
UGlobalHotkeys::~UGlobalHotkeys()
{
#if defined(Q_OS_WIN)
for (QSet<size_t>::iterator i = Registered.begin(); i != Registered.end(); i++) {
for (QSet<size_t>::iterator i = Registered.begin(); i != Registered.end(); ++i) {
UnregisterHotKey((HWND)winId(), *i);
}
#elif defined(Q_OS_LINUX)
Expand Down

0 comments on commit cda769b

Please sign in to comment.