mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-09-24 14:48:48 -04:00
Make AutoType::performGlobalAutoType() a slot.
This commit is contained in:
parent
651c00239a
commit
fa51f7e10e
2 changed files with 4 additions and 2 deletions
|
@ -125,7 +125,7 @@ void AutoType::performAutoType(const Entry* entry, QWidget* hideWindow, const QS
|
|||
m_inAutoType = false;
|
||||
}
|
||||
|
||||
void AutoType::performGlobalAutoType(const QList<Database*> dbList)
|
||||
void AutoType::performGlobalAutoType(const QList<Database*>& dbList)
|
||||
{
|
||||
if (m_inAutoType || !m_plugin) {
|
||||
return;
|
||||
|
|
|
@ -38,7 +38,6 @@ public:
|
|||
QStringList windowTitles();
|
||||
void performAutoType(const Entry* entry, QWidget* hideWindow = Q_NULLPTR,
|
||||
const QString& customSequence = QString());
|
||||
void performGlobalAutoType(const QList<Database*> 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<Database*>& dbList);
|
||||
|
||||
Q_SIGNALS:
|
||||
void globalShortcutTriggered();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue