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
KSysGuard
Commits
06bf2f28
Commit
06bf2f28
authored
Aug 25, 2020
by
David Redondo
🏎
Browse files
i18nc arg error
parent
b40f8d07
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/global/cpu/linuxcpu.cpp
View file @
06bf2f28
...
...
@@ -138,7 +138,7 @@ LinuxCpuPluginPrivate::LinuxCpuPluginPrivate(CpuPlugin *q)
frequency
=
value
.
toDouble
();
}
}
const
QString
name
=
i18nc
(
"@title"
,
"CPU %1 Core %2"
).
arg
(
physicalId
+
1
).
arg
(
++
numCores
[
physicalId
]);
const
QString
name
=
i18nc
(
"@title"
,
"CPU %1 Core %2"
,
physicalId
+
1
,
++
numCores
[
physicalId
]);
auto
cpu
=
new
LinuxCpuObject
(
QStringLiteral
(
"cpu%1"
).
arg
(
processor
),
name
,
m_container
,
frequency
);
m_cpusBySystemIds
.
insert
({
physicalId
,
coreId
},
cpu
);
}
...
...
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