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
libksysguard
Commits
981be2b2
Commit
981be2b2
authored
Jul 31, 2020
by
David Redondo
🏎
Committed by
David Edmundson
Aug 03, 2020
Browse files
desktopEntryName is lower case
See
!49 (comment 82468)
parent
dd4b581d
Changes
1
Hide whitespace changes
Inline
Side-by-side
autotests/cgrouptest.cpp
View file @
981be2b2
...
...
@@ -44,10 +44,10 @@ void CGroupTest::testAppUnitRegex()
QFETCH
(
QString
,
desktopName
);
KSysGuard
::
CGroup
c
(
id
);
if
(
c
.
service
()
->
menuId
().
isEmpty
())
{
// The service is not known on
d
machine an we constructed a service with the id as name
// The service is not known on
this
machine an
d
we constructed a service with the id as name
QCOMPARE
(
c
.
service
()
->
name
(),
desktopName
);
}
else
{
QCOMPARE
(
c
.
service
()
->
desktopEntryName
(),
desktopName
);
QCOMPARE
(
c
.
service
()
->
desktopEntryName
(),
desktopName
.
toLower
()
);
}
}
...
...
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