Skip to content

Commit 128b583

Browse files
authored
Fix app filter using wildcards (flameshot-org#3985)
1 parent a56beb3 commit 128b583

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/launcher/applauncherwidget.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ void AppLauncherWidget::searchChanged(const QString& text)
177177
m_filterList->show();
178178
m_filterList->clear();
179179
const QRegularExpression regexp(
180-
QRegularExpression::wildcardToRegularExpression(text),
180+
QRegularExpression::wildcardToRegularExpression("*" + text + "*"),
181181
QRegularExpression::CaseInsensitiveOption);
182182
QVector<DesktopAppData> apps;
183183

0 commit comments

Comments
 (0)