Adjust login state widget placement for covers and lyrics settings
This commit is contained in:
@@ -64,11 +64,11 @@ void LoginStateWidget::SetAccountTypeText(const QString &text) {
|
||||
ui_->account_type_label->setText(text);
|
||||
}
|
||||
|
||||
void LoginStateWidget::SetAccountTypeVisible(bool visible) {
|
||||
void LoginStateWidget::SetAccountTypeVisible(const bool visible) {
|
||||
ui_->account_type->setVisible(visible);
|
||||
}
|
||||
|
||||
void LoginStateWidget::SetLoggedIn(State state, const QString &account_name) {
|
||||
void LoginStateWidget::SetLoggedIn(const State state, const QString &account_name) {
|
||||
|
||||
State last_state = state_;
|
||||
state_ = state;
|
||||
|
||||
@@ -53,13 +53,13 @@ class LoginStateWidget : public QWidget {
|
||||
|
||||
public slots:
|
||||
// Changes the "You are logged in/out" label, shows/hides any QGroupBoxes added with AddCredentialGroup.
|
||||
void SetLoggedIn(State state, const QString &account_name = QString());
|
||||
void SetLoggedIn(const State state, const QString &account_name = QString());
|
||||
|
||||
// Hides the "You are logged in/out" label completely.
|
||||
void HideLoggedInState();
|
||||
|
||||
void SetAccountTypeText(const QString &text);
|
||||
void SetAccountTypeVisible(bool visible);
|
||||
void SetAccountTypeVisible(const bool visible);
|
||||
|
||||
void SetExpires(const QDate &expires);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user