yuzu/configuration: Make slots private where applicable

These slots are only ever attached to event handling mechanisms within
the class itself, they're never used externally. Because of this, we can
make the functions private.

This also removes redundant usages of the private access specifier.
This commit is contained in:
Lioncash 2018-12-02 14:14:32 -05:00 committed by fearlessTobi
parent d87961bad3
commit 5840943110
5 changed files with 2 additions and 7 deletions

View file

@ -22,10 +22,9 @@ public:
void retranslateUi();
void setConfiguration();
public slots:
private:
void updateAudioDevices(int sink_index);
private:
void setOutputSinkFromSinkID();
void setAudioDeviceFromDeviceID();
void setVolumeIndicatorText(int percentage);

View file

@ -22,6 +22,5 @@ public:
void retranslateUi();
void setConfiguration();
private:
std::unique_ptr<Ui::ConfigureDebug> ui;
};

View file

@ -34,6 +34,5 @@ private:
void setConfiguration();
void retranslateUi();
private:
std::unique_ptr<Ui::ConfigureDialog> ui;
};

View file

@ -22,7 +22,6 @@ public:
void retranslateUi();
void setConfiguration();
private:
std::unique_ptr<Ui::ConfigureGraphics> ui;
QColor bg_color;
};

View file

@ -23,13 +23,12 @@ public:
void retranslateUi();
void setConfiguration();
public slots:
private:
void RefreshTelemetryID();
void OnLoginChanged();
void VerifyLogin();
void OnLoginVerified();
private:
bool user_verified = true;
QFutureWatcher<bool> verify_watcher;