diff --git a/src/autotype/AutoType.cpp b/src/autotype/AutoType.cpp index 528293e3f..720f32a84 100644 --- a/src/autotype/AutoType.cpp +++ b/src/autotype/AutoType.cpp @@ -125,7 +125,7 @@ void AutoType::performAutoType(const Entry* entry, QWidget* hideWindow, const QS m_inAutoType = false; } -void AutoType::performGlobalAutoType(const QList dbList) +void AutoType::performGlobalAutoType(const QList& dbList) { if (m_inAutoType || !m_plugin) { return; diff --git a/src/autotype/AutoType.h b/src/autotype/AutoType.h index 9ddc39978..3ca53984e 100644 --- a/src/autotype/AutoType.h +++ b/src/autotype/AutoType.h @@ -38,7 +38,6 @@ public: QStringList windowTitles(); void performAutoType(const Entry* entry, QWidget* hideWindow = Q_NULLPTR, const QString& customSequence = QString()); - void performGlobalAutoType(const QList dbList); bool registerGlobalShortcut(Qt::Key key, Qt::KeyboardModifiers modifiers); void unregisterGlobalShortcut(); int callEventFilter(void* event); @@ -49,6 +48,9 @@ public: static AutoType* instance(); +public Q_SLOTS: + void performGlobalAutoType(const QList& dbList); + Q_SIGNALS: void globalShortcutTriggered();