From 54d54f503aab6f291e83635e8f54a96f55f1df30 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Wed, 5 Aug 2026 20:47:06 +0800 Subject: duckduckgo: filter result case insensitively --- qml_plugin/src/launcher/duckduckgo.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'qml_plugin/src') diff --git a/qml_plugin/src/launcher/duckduckgo.rs b/qml_plugin/src/launcher/duckduckgo.rs index 691c9da..16c9102 100644 --- a/qml_plugin/src/launcher/duckduckgo.rs +++ b/qml_plugin/src/launcher/duckduckgo.rs @@ -75,7 +75,10 @@ impl qobject::DuckDuckGo { .queue( move |mut qo| match result { Ok(r) => { - if (r.title == input + if (r + .title + .to_lower() + == input.to_lower() || r.title .is_empty()) && r.description_html -- cgit v1.2.3