mirror of
https://invent.kde.org/system/dolphin
synced 2024-07-04 17:30:55 +00:00
Explain free space button usage in tooltip
This is to make sure that users do not have to guess why they would want to press the button.
This commit is contained in:
parent
d4d6f88344
commit
83988f5e5b
|
@ -184,7 +184,11 @@ void StatusBarSpaceInfo::slotValuesChanged()
|
|||
|
||||
m_textInfoButton->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));
|
||||
m_textInfoButton->setToolTip(toolTip());
|
||||
m_textInfoButton->setToolTip(i18nc("@info:tooltip for the free disk space button",
|
||||
"%1 free out of %2 (%3% used)\nPress to manage disk space usage.",
|
||||
KIO::convertSize(available),
|
||||
KIO::convertSize(size),
|
||||
percentUsed));
|
||||
setUpdatesEnabled(false);
|
||||
m_capacityBar->setValue(percentUsed);
|
||||
setUpdatesEnabled(true);
|
||||
|
|
Loading…
Reference in New Issue
Block a user