mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 21:30:19 -06:00
Split AchievementBox UpdateData
AchievementBox now has UpdateData and UpdateProgress, which is called from UpdateData, but may be called elsewhere to update just the progress measurement of the achievement.
This commit is contained in:
@ -87,6 +87,11 @@ void AchievementBox::UpdateData()
|
||||
m_status->setText(tr("Locked"));
|
||||
}
|
||||
|
||||
UpdateProgress();
|
||||
}
|
||||
|
||||
void AchievementBox::UpdateProgress()
|
||||
{
|
||||
if (m_achievement->measured_percent > 0.000)
|
||||
{
|
||||
m_progress_bar->setRange(0, 100);
|
||||
|
Reference in New Issue
Block a user