Adjust login state widget placement for covers and lyrics settings

This commit is contained in:
Jonas Kvinge
2020-05-12 22:15:53 +02:00
parent e35501ff0a
commit a950ec3bd5
6 changed files with 38 additions and 20 deletions

View File

@@ -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);