mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-07-12 21:35:49 +00:00
fix issue with invalid (up|down)total($|kb) calculation (see #127)
also renamed *total* tags to *tot* for consistency with other tags: * uptotal.* -> uptot.* * downtotal.* -> downtot.* * pstotal -> pstot
This commit is contained in:
@ -147,8 +147,8 @@ QStringList AWKeyCache::getRequiredKeys(const QStringList &_keys,
|
||||
used << "swapgb"
|
||||
<< "swapfreegb";
|
||||
// network keys
|
||||
QStringList netKeys({"up", "upkb", "uptotal", "uptotalkb", "upunits",
|
||||
"down", "downkb", "downtotal", "downtotalkb",
|
||||
QStringList netKeys({"up", "upkb", "uptot", "uptotkb", "upunits",
|
||||
"down", "downkb", "downtot", "downtotkb",
|
||||
"downunits"});
|
||||
for (auto &key : netKeys) {
|
||||
if (!used.contains(key))
|
||||
|
Reference in New Issue
Block a user