Indentation fix

This commit is contained in:
Alexandre Vicente
2020-04-21 22:10:49 -03:00
parent 12e05bfd4e
commit e113ace9a1
2 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -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
View File
@@ -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);