aboutsummaryrefslogtreecommitdiff
path: root/src/settingswidget.h
diff options
context:
space:
mode:
authorLibravatar Keshav Bhatt <keshavnrj@gmail.com>2023-01-26 20:22:04 +0530
committerLibravatar Keshav Bhatt <keshavnrj@gmail.com>2023-01-26 20:22:04 +0530
commit21ca36bd3a23ff7e89cb0246e8383dfcb473ed24 (patch)
tree6ab7cf607aaead66aa71fd8048571fe0f86bf1f6 /src/settingswidget.h
parent74216cfdca383bb7597fd8d9b7f81abae2d95971 (diff)
downloadwhatsie-21ca36bd3a23ff7e89cb0246e8383dfcb473ed24.tar.gz
whatsie-21ca36bd3a23ff7e89cb0246e8383dfcb473ed24.zip
chore: cleanup + addition
- remove clear cache option - provide single app data cleanup option - close settings with esc button
Diffstat (limited to 'src/settingswidget.h')
-rw-r--r--src/settingswidget.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/settingswidget.h b/src/settingswidget.h
index 8e8eab8..d533343 100644
--- a/src/settingswidget.h
+++ b/src/settingswidget.h
@@ -32,7 +32,7 @@ signals:
void updateFullWidthView(bool checked);
public:
- explicit SettingsWidget(QWidget *parent = nullptr,int screenNumber = 0,
+ explicit SettingsWidget(QWidget *parent = nullptr, int screenNumber = 0,
QString engineCachePath = "",
QString enginePersistentStoragePath = "");
~SettingsWidget();
@@ -51,7 +51,7 @@ public slots:
protected slots:
bool eventFilter(QObject *obj, QEvent *event);
void closeEvent(QCloseEvent *event);
-
+ void keyPressEvent(QKeyEvent *e);
private slots:
QString cachePath();
QString persistentStoragePath();
@@ -67,8 +67,6 @@ private slots:
void on_chnageCurrentPasswordPushButton_clicked();
void on_closeButtonActionComboBox_currentIndexChanged(int index);
void on_defaultUserAgentButton_clicked();
- void on_deleteCache_clicked();
- void on_deletePersistentData_clicked();
void on_dictComboBox_currentIndexChanged(const QString &arg1);
void on_enableSpellCheck_toggled(bool checked);
void on_minimizeOnTrayIconClick_toggled(bool checked);
@@ -99,6 +97,8 @@ private slots:
void on_fullWidthViewCheckbox_toggled(bool checked);
+ void on_deletePersistentData_clicked();
+
private:
Ui::SettingsWidget *ui;
QString engineCachePath, enginePersistentStoragePath;