From 88e272b40dd9b0a182662ac77296dc2330b2027f Mon Sep 17 00:00:00 2001 From: ConfuSomu Date: Wed, 2 Aug 2023 02:10:55 +0200 Subject: Make a QAction from the Search button This allows us to have an action in the menu bar and a keyboard shortcut. --- src/mainwindow.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mainwindow.h') diff --git a/src/mainwindow.h b/src/mainwindow.h index 7b87880..fedbc9d 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -46,9 +46,9 @@ private slots: void on_actionReblogs_triggered(bool checked); void on_actionRandom_status_triggered(bool checked); void on_actionCopy_status_triggered(bool checked); + void on_actionFind_triggered(bool checked); void on_textInputSearch_textEdited(const QString &text); - void on_buttonSearch_clicked(); void on_menuView_aboutToHide(); -- cgit v1.2.3-54-g00ecf