mirror of
https://github.com/fergalmoran/flameshot.git
synced 2025-12-22 09:51:06 +00:00
Fix app filter using wildcards (#3985)
This commit is contained in:
@@ -177,7 +177,7 @@ void AppLauncherWidget::searchChanged(const QString& text)
|
|||||||
m_filterList->show();
|
m_filterList->show();
|
||||||
m_filterList->clear();
|
m_filterList->clear();
|
||||||
const QRegularExpression regexp(
|
const QRegularExpression regexp(
|
||||||
QRegularExpression::wildcardToRegularExpression(text),
|
QRegularExpression::wildcardToRegularExpression("*" + text + "*"),
|
||||||
QRegularExpression::CaseInsensitiveOption);
|
QRegularExpression::CaseInsensitiveOption);
|
||||||
QVector<DesktopAppData> apps;
|
QVector<DesktopAppData> apps;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user