yuzu-emu
/
yuzu-mainline
Archived
1
0
Fork 0

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 applyConfiguration();
void retranslateUi(); void retranslateUi();
public slots: private:
void updateAudioDevices(int sink_index); void updateAudioDevices(int sink_index);
private:
void setConfiguration(); void setConfiguration();
void setOutputSinkFromSinkID(); void setOutputSinkFromSinkID();
void setAudioDeviceFromDeviceID(); void setAudioDeviceFromDeviceID();

View File

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

View File

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

View File

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

View File

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