Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Plasma
libksysguard
Commits
dba782c9
Commit
dba782c9
authored
Jan 21, 2021
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't use deprecated enum
parent
39a22f45
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
processui/ProcessFilter.cpp
processui/ProcessFilter.cpp
+1
-1
No files found.
processui/ProcessFilter.cpp
View file @
dba782c9
...
...
@@ -113,7 +113,7 @@ bool ProcessFilter::filterAcceptsRow( int source_row, const QModelIndex & source
if
(
QSortFilterProxyModel
::
filterAcceptsRow
(
source_row
,
source_parent
))
return
true
;
auto
strings
=
filterRegExp
().
pattern
().
split
(
QLatin1Char
(
','
),
Q
String
::
SplitBehavior
::
SkipEmptyParts
);
auto
strings
=
filterRegExp
().
pattern
().
split
(
QLatin1Char
(
','
),
Q
t
::
SkipEmptyParts
);
for
(
auto
string
:
strings
)
{
string
=
string
.
trimmed
();
if
(
process
->
name
().
indexOf
(
string
)
!=
-
1
||
QString
::
number
(
process
->
pid
()).
indexOf
(
string
)
!=
-
1
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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