mirror of
https://github.com/Skycoder42/QHotkey.git
synced 2026-11-19 12:49:58 +03:00
Indentation fix
This commit is contained in:
+3
-3
@@ -264,9 +264,9 @@ void QHotkeyPrivate::activateShortcut(QHotkey::NativeShortcut shortcut)
|
|||||||
|
|
||||||
void QHotkeyPrivate::releaseShortcut(QHotkey::NativeShortcut shortcut)
|
void QHotkeyPrivate::releaseShortcut(QHotkey::NativeShortcut shortcut)
|
||||||
{
|
{
|
||||||
QMetaMethod signal = QMetaMethod::fromSignal(&QHotkey::released);
|
QMetaMethod signal = QMetaMethod::fromSignal(&QHotkey::released);
|
||||||
for(QHotkey *hkey : shortcuts.values(shortcut))
|
for(QHotkey *hkey : shortcuts.values(shortcut))
|
||||||
signal.invoke(hkey, Qt::QueuedConnection);
|
signal.invoke(hkey, Qt::QueuedConnection);
|
||||||
}
|
}
|
||||||
|
|
||||||
void QHotkeyPrivate::addMappingInvoked(Qt::Key keycode, Qt::KeyboardModifiers modifiers, const QHotkey::NativeShortcut &nativeShortcut)
|
void QHotkeyPrivate::addMappingInvoked(Qt::Key keycode, Qt::KeyboardModifiers modifiers, const QHotkey::NativeShortcut &nativeShortcut)
|
||||||
|
|||||||
+2
-2
@@ -100,8 +100,8 @@ signals:
|
|||||||
//! Will be emitted if the shortcut is pressed
|
//! Will be emitted if the shortcut is pressed
|
||||||
void activated(QPrivateSignal);
|
void activated(QPrivateSignal);
|
||||||
|
|
||||||
//! Will be emitted if the shortcut press is released
|
//! Will be emitted if the shortcut press is released
|
||||||
void released(QPrivateSignal);
|
void released(QPrivateSignal);
|
||||||
|
|
||||||
//! @notifyAcFn{QHotkey::registered}
|
//! @notifyAcFn{QHotkey::registered}
|
||||||
void registeredChanged(bool registered);
|
void registeredChanged(bool registered);
|
||||||
|
|||||||
Reference in New Issue
Block a user