From 771625dae018af75304a0d2a7c942eb2f6e16e0a Mon Sep 17 00:00:00 2001 From: Keshav Bhatt Date: Sat, 27 Aug 2022 21:29:04 +0530 Subject: chore: unlock action button - use unlock action button instead of pushbutton --- src/lock.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/lock.h') diff --git a/src/lock.h b/src/lock.h index 9082593..14a58e2 100644 --- a/src/lock.h +++ b/src/lock.h @@ -1,6 +1,7 @@ #ifndef LOCK_H #define LOCK_H +#include #include #include @@ -21,8 +22,7 @@ private slots: void on_passcode2_textChanged(const QString &arg1); void on_setPass_clicked(); bool check_password_set(); - void on_unlock_clicked(); - void on_passcodeLogin_textChanged(const QString &arg1); + void on_passcodeLogin_textChanged(const QString &arg1); void on_passcodeLogin_returnPressed(); bool getCapsLockOn(); void checkCaps(); @@ -47,6 +47,7 @@ private: Ui::Lock *ui; bool isLocked = true; QSettings settings; + QAction *passcodeLoginAction; }; #endif // LOCK_H -- cgit v1.2.3