diff --git a/intl/msg_hash_ar.h b/intl/msg_hash_ar.h index 723db15fd0..9c4465010e 100644 --- a/intl/msg_hash_ar.h +++ b/intl/msg_hash_ar.h @@ -3503,3 +3503,5 @@ MSG_HASH(MENU_ENUM_LABEL_VALUE_MIXER_ACTION_VOLUME, "Volume") MSG_HASH(MENU_ENUM_LABEL_VALUE_DETECT_CORE_LIST_OK_CURRENT_CORE, "Current core") +MSG_HASH(MENU_ENUM_LABEL_VALUE_QT_MENU_SEARCH_CLEAR, + "Clear") diff --git a/intl/msg_hash_chs.h b/intl/msg_hash_chs.h index f96edbe9a2..c1a4154814 100644 --- a/intl/msg_hash_chs.h +++ b/intl/msg_hash_chs.h @@ -3289,3 +3289,5 @@ MSG_HASH(MENU_ENUM_LABEL_VALUE_MIXER_ACTION_VOLUME, "Volume") MSG_HASH(MENU_ENUM_LABEL_VALUE_DETECT_CORE_LIST_OK_CURRENT_CORE, "Current core") +MSG_HASH(MENU_ENUM_LABEL_VALUE_QT_MENU_SEARCH_CLEAR, + "Clear") diff --git a/intl/msg_hash_cht.h b/intl/msg_hash_cht.h index 9db0b7ff15..669fa55cf7 100644 --- a/intl/msg_hash_cht.h +++ b/intl/msg_hash_cht.h @@ -3281,3 +3281,5 @@ MSG_HASH(MENU_ENUM_LABEL_VALUE_MIXER_ACTION_VOLUME, "Volume") MSG_HASH(MENU_ENUM_LABEL_VALUE_DETECT_CORE_LIST_OK_CURRENT_CORE, "Current core") +MSG_HASH(MENU_ENUM_LABEL_VALUE_QT_MENU_SEARCH_CLEAR, + "Clear") diff --git a/intl/msg_hash_de.h b/intl/msg_hash_de.h index 48f1a0497d..293b71a5eb 100644 --- a/intl/msg_hash_de.h +++ b/intl/msg_hash_de.h @@ -3395,3 +3395,5 @@ MSG_HASH(MENU_ENUM_LABEL_VALUE_MIXER_ACTION_VOLUME, "Volume") MSG_HASH(MENU_ENUM_LABEL_VALUE_DETECT_CORE_LIST_OK_CURRENT_CORE, "Current core") +MSG_HASH(MENU_ENUM_LABEL_VALUE_QT_MENU_SEARCH_CLEAR, + "Clear") diff --git a/intl/msg_hash_eo.h b/intl/msg_hash_eo.h index 5815160bbf..c40ecc566f 100644 --- a/intl/msg_hash_eo.h +++ b/intl/msg_hash_eo.h @@ -3154,3 +3154,5 @@ MSG_HASH(MENU_ENUM_LABEL_VALUE_MIXER_ACTION_VOLUME, "Volume") MSG_HASH(MENU_ENUM_LABEL_VALUE_DETECT_CORE_LIST_OK_CURRENT_CORE, "Current core") +MSG_HASH(MENU_ENUM_LABEL_VALUE_QT_MENU_SEARCH_CLEAR, + "Clear") diff --git a/intl/msg_hash_es.h b/intl/msg_hash_es.h index ff2dae1ac5..9408e50b9f 100644 --- a/intl/msg_hash_es.h +++ b/intl/msg_hash_es.h @@ -5887,3 +5887,5 @@ MSG_HASH(MENU_ENUM_LABEL_VALUE_MIXER_ACTION_VOLUME, "Volume") MSG_HASH(MENU_ENUM_LABEL_VALUE_DETECT_CORE_LIST_OK_CURRENT_CORE, "Current core") +MSG_HASH(MENU_ENUM_LABEL_VALUE_QT_MENU_SEARCH_CLEAR, + "Clear") diff --git a/intl/msg_hash_fr.h b/intl/msg_hash_fr.h index 7b0d04c243..f9d6684c83 100644 --- a/intl/msg_hash_fr.h +++ b/intl/msg_hash_fr.h @@ -3319,3 +3319,5 @@ MSG_HASH(MENU_ENUM_LABEL_VALUE_MIXER_ACTION_VOLUME, "Volume") MSG_HASH(MENU_ENUM_LABEL_VALUE_DETECT_CORE_LIST_OK_CURRENT_CORE, "Current core") +MSG_HASH(MENU_ENUM_LABEL_VALUE_QT_MENU_SEARCH_CLEAR, + "Clear") diff --git a/intl/msg_hash_it.h b/intl/msg_hash_it.h index 74c7666401..c671caf998 100644 --- a/intl/msg_hash_it.h +++ b/intl/msg_hash_it.h @@ -3377,3 +3377,5 @@ MSG_HASH(MENU_ENUM_LABEL_VALUE_MIXER_ACTION_VOLUME, "Volume") MSG_HASH(MENU_ENUM_LABEL_VALUE_DETECT_CORE_LIST_OK_CURRENT_CORE, "Current core") +MSG_HASH(MENU_ENUM_LABEL_VALUE_QT_MENU_SEARCH_CLEAR, + "Clear") diff --git a/intl/msg_hash_ja.h b/intl/msg_hash_ja.h index 30d678d81f..2cf2e7836a 100644 --- a/intl/msg_hash_ja.h +++ b/intl/msg_hash_ja.h @@ -3531,3 +3531,5 @@ MSG_HASH(MENU_ENUM_LABEL_VALUE_MIXER_ACTION_VOLUME, "Volume") MSG_HASH(MENU_ENUM_LABEL_VALUE_DETECT_CORE_LIST_OK_CURRENT_CORE, "Current core") +MSG_HASH(MENU_ENUM_LABEL_VALUE_QT_MENU_SEARCH_CLEAR, + "Clear") diff --git a/intl/msg_hash_ko.h b/intl/msg_hash_ko.h index 70db324ced..35de308d55 100644 --- a/intl/msg_hash_ko.h +++ b/intl/msg_hash_ko.h @@ -3280,3 +3280,5 @@ MSG_HASH(MENU_ENUM_LABEL_VALUE_MIXER_ACTION_VOLUME, "Volume") MSG_HASH(MENU_ENUM_LABEL_VALUE_DETECT_CORE_LIST_OK_CURRENT_CORE, "Current core") +MSG_HASH(MENU_ENUM_LABEL_VALUE_QT_MENU_SEARCH_CLEAR, + "Clear") diff --git a/intl/msg_hash_nl.h b/intl/msg_hash_nl.h index 2d303f7ee0..d189d99eb2 100644 --- a/intl/msg_hash_nl.h +++ b/intl/msg_hash_nl.h @@ -3156,3 +3156,5 @@ MSG_HASH(MENU_ENUM_LABEL_VALUE_MIXER_ACTION_VOLUME, "Volume") MSG_HASH(MENU_ENUM_LABEL_VALUE_DETECT_CORE_LIST_OK_CURRENT_CORE, "Current core") +MSG_HASH(MENU_ENUM_LABEL_VALUE_QT_MENU_SEARCH_CLEAR, + "Clear") diff --git a/intl/msg_hash_pl.h b/intl/msg_hash_pl.h index dff79f9951..67482a31ba 100644 --- a/intl/msg_hash_pl.h +++ b/intl/msg_hash_pl.h @@ -3515,3 +3515,5 @@ MSG_HASH(MENU_ENUM_LABEL_VALUE_MIXER_ACTION_VOLUME, "Volume") MSG_HASH(MENU_ENUM_LABEL_VALUE_DETECT_CORE_LIST_OK_CURRENT_CORE, "Current core") +MSG_HASH(MENU_ENUM_LABEL_VALUE_QT_MENU_SEARCH_CLEAR, + "Clear") diff --git a/intl/msg_hash_pt_br.h b/intl/msg_hash_pt_br.h index be97970188..809b9e887d 100644 --- a/intl/msg_hash_pt_br.h +++ b/intl/msg_hash_pt_br.h @@ -3680,3 +3680,5 @@ MSG_HASH(MENU_ENUM_LABEL_VALUE_MIXER_ACTION_VOLUME, "Volume") MSG_HASH(MENU_ENUM_LABEL_VALUE_DETECT_CORE_LIST_OK_CURRENT_CORE, "Current core") +MSG_HASH(MENU_ENUM_LABEL_VALUE_QT_MENU_SEARCH_CLEAR, + "Clear") diff --git a/intl/msg_hash_pt_pt.h b/intl/msg_hash_pt_pt.h index 59265b4031..be121f7edf 100644 --- a/intl/msg_hash_pt_pt.h +++ b/intl/msg_hash_pt_pt.h @@ -3254,3 +3254,5 @@ MSG_HASH(MENU_ENUM_LABEL_VALUE_MIXER_ACTION_VOLUME, "Volume") MSG_HASH(MENU_ENUM_LABEL_VALUE_DETECT_CORE_LIST_OK_CURRENT_CORE, "Current core") +MSG_HASH(MENU_ENUM_LABEL_VALUE_QT_MENU_SEARCH_CLEAR, + "Clear") diff --git a/intl/msg_hash_ru.h b/intl/msg_hash_ru.h index 6a048eab4c..18e27c79a6 100644 --- a/intl/msg_hash_ru.h +++ b/intl/msg_hash_ru.h @@ -3338,3 +3338,5 @@ MSG_HASH(MENU_ENUM_LABEL_VALUE_MIXER_ACTION_VOLUME, "Volume") MSG_HASH(MENU_ENUM_LABEL_VALUE_DETECT_CORE_LIST_OK_CURRENT_CORE, "Current core") +MSG_HASH(MENU_ENUM_LABEL_VALUE_QT_MENU_SEARCH_CLEAR, + "Clear") diff --git a/intl/msg_hash_us.h b/intl/msg_hash_us.h index ab6ee56f77..ae24356f32 100644 --- a/intl/msg_hash_us.h +++ b/intl/msg_hash_us.h @@ -3680,3 +3680,5 @@ MSG_HASH(MENU_ENUM_LABEL_VALUE_MIXER_ACTION_VOLUME, "Volume") MSG_HASH(MENU_ENUM_LABEL_VALUE_DETECT_CORE_LIST_OK_CURRENT_CORE, "Current core") +MSG_HASH(MENU_ENUM_LABEL_VALUE_QT_MENU_SEARCH_CLEAR, + "Clear") diff --git a/intl/msg_hash_vn.h b/intl/msg_hash_vn.h index 50d0737bd6..7296049ee5 100644 --- a/intl/msg_hash_vn.h +++ b/intl/msg_hash_vn.h @@ -3311,3 +3311,5 @@ MSG_HASH(MENU_ENUM_LABEL_VALUE_MIXER_ACTION_VOLUME, "Volume") MSG_HASH(MENU_ENUM_LABEL_VALUE_DETECT_CORE_LIST_OK_CURRENT_CORE, "Current core") +MSG_HASH(MENU_ENUM_LABEL_VALUE_QT_MENU_SEARCH_CLEAR, + "Clear") diff --git a/msg_hash.h b/msg_hash.h index 833b518760..6693d096bc 100644 --- a/msg_hash.h +++ b/msg_hash.h @@ -1798,6 +1798,7 @@ enum msg_hash_enums MENU_ENUM_LABEL_VALUE_QT_MENU_EDIT, MENU_ENUM_LABEL_VALUE_QT_MENU_EDIT_SEARCH, MENU_ENUM_LABEL_VALUE_QT_MENU_VIEW, + MENU_ENUM_LABEL_VALUE_QT_MENU_SEARCH_CLEAR, MENU_ENUM_LABEL_VALUE_QT_MENU_VIEW_CLOSED_DOCKS, MENU_ENUM_LABEL_VALUE_QT_MENU_VIEW_OPTIONS, MENU_ENUM_LABEL_VALUE_QT_MENU_VIEW_OPTIONS_SAVE_DOCK_POSITIONS, diff --git a/ui/drivers/qt/ui_qt_window.cpp b/ui/drivers/qt/ui_qt_window.cpp index 12e59b2065..cf5ee3309f 100644 --- a/ui/drivers/qt/ui_qt_window.cpp +++ b/ui/drivers/qt/ui_qt_window.cpp @@ -521,7 +521,7 @@ MainWindow::MainWindow(QWidget *parent) : m_coreInfoPushButton->setFixedSize(m_coreInfoPushButton->sizeHint()); searchResetButton = new QToolButton(m_searchWidget); - searchResetButton->setDefaultAction(new QAction("Clear", searchResetButton)); + searchResetButton->setDefaultAction(new QAction(msg_hash_to_str(MENU_ENUM_LABEL_VALUE_QT_MENU_SEARCH_CLEAR), searchResetButton)); searchResetButton->setFixedSize(searchResetButton->sizeHint()); connect(searchResetButton, SIGNAL(clicked()), this, SLOT(onSearchResetClicked()));