fix: Change disk info path and fix disk info alarm value calculate.
This commit is contained in:
@@ -298,7 +298,7 @@ void GeneralForm::updateStorageSize()
|
||||
{
|
||||
mDiskIcon->setMaxValue(mDiskSize);
|
||||
double aValue = JsonObject::Instance()->storageAlarmSize().toDouble();
|
||||
mDiskIcon->setAlarmValue(aValue);
|
||||
mDiskIcon->setAlarmValue(mDiskSize * aValue / 100);
|
||||
mDiskSizeLabel->setText(tr("Total:\t%1G").arg(mDiskSize));
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user