Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
KSystemStats
Commits
c470619a
Commit
c470619a
authored
Jan 22, 2021
by
David Redondo
🏎
Browse files
Set name for temperature sensor
Fix copy and paste mistake GIT_SILENT
parent
e5a35d53
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/cpu/cpu.cpp
View file @
c470619a
...
...
@@ -96,7 +96,7 @@ void CpuObject::initialize()
m_frequency
->
setUnit
(
KSysGuard
::
Unit
::
UnitMegaHertz
);
m_temperature
->
setPrefix
(
name
());
m_temperature
->
set
Prefix
(
i18nc
(
"@title"
,
"Current Temperature"
));
m_temperature
->
set
Name
(
i18nc
(
"@title"
,
"Current Temperature"
));
m_temperature
->
setShortName
(
i18nc
(
"@title, Short for Current Temperatur"
,
"Temperature"
));
m_temperature
->
setVariantType
(
QVariant
::
Double
);
m_temperature
->
setUnit
(
KSysGuard
::
Unit
::
UnitCelsius
);
...
...
Write
Preview
Supports
Markdown
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