that was bothering me
This commit is contained in:
parent
2824a5ac9a
commit
054a98298b
1 changed files with 5 additions and 5 deletions
10
src/main.cpp
10
src/main.cpp
|
@ -164,16 +164,16 @@ namespace {
|
||||||
else
|
else
|
||||||
debug_at(data.host.error());
|
debug_at(data.host.error());
|
||||||
|
|
||||||
if (data.kernelVersion)
|
|
||||||
systemInfoRows.push_back({ kernelIcon, "Kernel", *data.kernelVersion });
|
|
||||||
else
|
|
||||||
debug_at(data.kernelVersion.error());
|
|
||||||
|
|
||||||
if (data.osVersion)
|
if (data.osVersion)
|
||||||
systemInfoRows.push_back({ osIcon, "OS", *data.osVersion });
|
systemInfoRows.push_back({ osIcon, "OS", *data.osVersion });
|
||||||
else
|
else
|
||||||
debug_at(data.osVersion.error());
|
debug_at(data.osVersion.error());
|
||||||
|
|
||||||
|
if (data.kernelVersion)
|
||||||
|
systemInfoRows.push_back({ kernelIcon, "Kernel", *data.kernelVersion });
|
||||||
|
else
|
||||||
|
debug_at(data.kernelVersion.error());
|
||||||
|
|
||||||
if (data.memInfo)
|
if (data.memInfo)
|
||||||
systemInfoRows.push_back({ memoryIcon, "RAM", std::format("{}", BytesToGiB { *data.memInfo }) });
|
systemInfoRows.push_back({ memoryIcon, "RAM", std::format("{}", BytesToGiB { *data.memInfo }) });
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue