Commit 6a5ad6b0 authored by Shubham  .'s avatar Shubham . Committed by Nate Graham
Browse files

Add tooltip to free space info widget showing full disk capacity

BUG: 452867
FIXED-IN: 22.08
parent b700c94d
Pipeline #178098 passed with stage
in 9 minutes and 37 seconds
......@@ -114,6 +114,7 @@ void StatusBarSpaceInfo::slotValuesChanged()
const int percentUsed = qRound(100.0 * qreal(used) / qreal(size));
setText(i18nc("@info:status Free disk space", "%1 free", KIO::convertSize(available)));
setToolTip(i18nc("tooltip:status Free disk space", "%1 free out of %2 (%3% used)", KIO::convertSize(available), KIO::convertSize(size), percentUsed));
setUpdatesEnabled(false);
setValue(percentUsed);
setUpdatesEnabled(true);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment