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
parent eabfb7730d
commit 195cad9635
5 changed files with 2 additions and 7 deletions

View File

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

View File

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

View File

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

View File

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

View File

@ -22,13 +22,12 @@ public:
void applyConfiguration();
void retranslateUi();
public slots:
private:
void RefreshTelemetryID();
void OnLoginChanged();
void VerifyLogin();
void OnLoginVerified();
private:
void setConfiguration();
bool user_verified = true;