configuration: Add const qualifier where able

This commit is contained in:
lat9nq 2021-07-30 10:07:32 -04:00 committed by Morph
parent 3aec34df0a
commit 6405a2a989
18 changed files with 28 additions and 31 deletions

View file

@ -28,7 +28,7 @@ class ConfigureGeneral : public QWidget {
Q_OBJECT
public:
explicit ConfigureGeneral(Core::System& system_, QWidget* parent = nullptr);
explicit ConfigureGeneral(const Core::System& system_, QWidget* parent = nullptr);
~ConfigureGeneral() override;
void SetResetCallback(std::function<void()> callback);
@ -49,5 +49,5 @@ private:
ConfigurationShared::CheckState use_speed_limit;
ConfigurationShared::CheckState use_multi_core;
Core::System& system;
const Core::System& system;
};