Fixed icons

This commit is contained in:
Andrea Decorte 2011-05-09 20:37:14 +00:00
parent 6c291c45db
commit dbde7ae118
1 changed files with 3 additions and 3 deletions

View File

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