mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2026-10-13 18:32:15 +00:00
add notifications
edit widget.qml fix bug in monitor
This commit is contained in:
1 parent
f01fd96cf6
commit
bb88892125
6 files changed
+52
-9
No files matched your search
@@ -461,7 +461,7 @@ float ExtendedSysMon::getHddTemp(const QString cmd, const QString device)
|
||||
break;
|
||||
}
|
||||
} else {
|
||||
if (qoutput.split(QChar(':'), QString::SkipEmptyParts).count() < 3) {
|
||||
if (qoutput.split(QChar(':'), QString::SkipEmptyParts).count() >= 3) {
|
||||
QString temp = qoutput.split(QChar(':'), QString::SkipEmptyParts)[2];
|
||||
temp.remove(QChar(0260)).remove(QChar('C'));
|
||||
value = temp.toFloat();
|
||||
|
||||
Reference in new issue
Block a user