mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-31 11:35:24 +01:00
Fixed icons
This commit is contained in:
parent
6c291c45db
commit
dbde7ae118
@ -36,7 +36,7 @@ RemoteConfig::RemoteConfig(QWidget *parent)
|
||||
{
|
||||
ui_->setupUi(this);
|
||||
ui_->busy->hide();
|
||||
ui_->icon->setIcon(IconLoader::Load("task-reject"));
|
||||
ui_->icon->setPixmap(IconLoader::Load("task-reject").pixmap(16));
|
||||
|
||||
// Icons
|
||||
ui_->sign_out->setIcon(IconLoader::Load("list-remove"));
|
||||
@ -125,7 +125,7 @@ void RemoteConfig::AuthenticationComplete(const QString& token) {
|
||||
Save();
|
||||
|
||||
ui_->login_details->hide();
|
||||
ui_->icon->setIcon(IconLoader::Load("task-complete"));
|
||||
ui_->icon->setPixmap(IconLoader::Load("task-complete").pixmap(16));
|
||||
ui_->status->setText(QString(tr("You're logged in as <b>%1</b>")).arg(ui_->username->text()));
|
||||
ui_->sign_out->show();
|
||||
}
|
||||
@ -151,7 +151,7 @@ void RemoteConfig::SignOut() {
|
||||
ui_->username->clear();
|
||||
ui_->password->clear();
|
||||
ui_->sign_out->hide();
|
||||
ui_->icon->setIcon(IconLoader::Load("task-reject"));
|
||||
ui_->icon->setPixmap(IconLoader::Load("task-reject").pixmap(16));
|
||||
ui_->status->setText(QString(tr("Clementine can be controlled remotely by an Android phone. To enable this feature log in with the same Google account that is configured on your phone.")));
|
||||
ui_->login_details->show();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user