mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-13 03:29:11 +00:00
Refactor AchievementBox to const pointer
Not sure when or why this became necessary but it works.
This commit is contained in:
parent
4f210df86a
commit
6ad267017c
2 changed files with 3 additions and 3 deletions
|
@ -18,7 +18,7 @@ class AchievementBox final : public QGroupBox
|
|||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit AchievementBox(QWidget* parent, rc_client_achievement_t* achievement);
|
||||
explicit AchievementBox(QWidget* parent, const rc_client_achievement_t* achievement);
|
||||
void UpdateData();
|
||||
void UpdateProgress();
|
||||
|
||||
|
@ -28,7 +28,7 @@ private:
|
|||
QProgressBar* m_progress_bar;
|
||||
QLabel* m_progress_label;
|
||||
|
||||
rc_client_achievement_t* m_achievement;
|
||||
const rc_client_achievement_t* m_achievement;
|
||||
};
|
||||
|
||||
#endif // USE_RETRO_ACHIEVEMENTS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue