From c6604da779a10ed13dbdca9278f26db319bae005 Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Sat, 15 Jul 2023 20:56:10 +0300 Subject: [PATCH] kdeplasma-addons: search for location when return is pressed while the weather location widget has focus Signed-off-by: Ivailo Monev --- kdeplasma-addons/libs/plasmaweather/weatherconfig.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/kdeplasma-addons/libs/plasmaweather/weatherconfig.cpp b/kdeplasma-addons/libs/plasmaweather/weatherconfig.cpp index fb8bfadb..fa6abb7a 100644 --- a/kdeplasma-addons/libs/plasmaweather/weatherconfig.cpp +++ b/kdeplasma-addons/libs/plasmaweather/weatherconfig.cpp @@ -170,6 +170,7 @@ WeatherConfig::WeatherConfig(QWidget *parent) d->ui.visibilityComboBox->addItem(KLength::unitDescription(unit), unit); } + connect(d->ui.locationCombo, SIGNAL(returnPressed()), this, SLOT(changePressed())); connect(d->ui.changeButton, SIGNAL(clicked()), this, SLOT(changePressed())); connect(d->ui.updateIntervalSpinBox, SIGNAL(valueChanged(int)), -- 2.11.0