Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Plasma Workspace
Commits
fe646dc7
Commit
fe646dc7
authored
Jan 06, 2021
by
Alexander Lohnau
💬
Browse files
Do not duplicate results with ShellRunner
parent
89786024
Changes
1
Hide whitespace changes
Inline
Side-by-side
runners/locations/locationrunner.cpp
View file @
fe646dc7
...
...
@@ -53,6 +53,9 @@ LocationsRunner::~LocationsRunner()
void
LocationsRunner
::
match
(
Plasma
::
RunnerContext
&
context
)
{
QString
term
=
context
.
query
();
if
(
QFileInfo
(
KShell
::
tildeExpand
(
term
)).
isExecutable
())
{
return
;
}
// We want to expand ENV variables like $HOME to get the actual path, BUG: 358221
KUriFilter
::
self
()
->
filterUri
(
term
,
{
QStringLiteral
(
"kshorturifilter"
)});
const
QUrl
url
(
term
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment