Skip to content

Commit

Permalink
fix for percentage
Browse files Browse the repository at this point in the history
  • Loading branch information
memurats committed Jul 31, 2024
1 parent 9de6700 commit 7a18590
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/nmcgui/nmcaccountsettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ void NMCAccountSettings::setLayout()
auto *quotaVLayout = new QVBoxLayout(this);
quotaVLayout->setSpacing(4);
auto *quota = new QLabel(this);
// quota->setText(QCoreApplication::translate("", "USED_STORAGE_%1").arg(getUi()->quotaProgressBar->value() > 0 ? Utility::compactFormatDouble(getUi()->quotaProgressBar->value(), 1) : QString::number(0)));
quota->setText(QCoreApplication::translate("", "USED_STORAGE_%1").arg(Utility::compactFormatDouble(getUi()->quotaProgressBar->value(), 1)));

quotaVLayout->addSpacerItem(new QSpacerItem(1,12, QSizePolicy::Fixed, QSizePolicy::Fixed));
quotaVLayout->addWidget(getUi()->quotaInfoLabel);
Expand Down

0 comments on commit 7a18590

Please sign in to comment.