remove recursive call

detected by #4
This commit is contained in:
Skycoder42
2017-06-02 21:24:14 +02:00
parent a0678c4cfc
commit 2578b69dc5
-1
View File
@@ -135,7 +135,6 @@ bool QHotkeyPrivateX11::unregisterShortcut(QHotkey::NativeShortcut shortcut)
if(errorHandler.hasError) {
qCWarning(logQHotkey) << "Failed to unregister hotkey. Error:"
<< qPrintable(errorHandler.errorString);
this->unregisterShortcut(shortcut);
return false;
} else
return true;