m_remoteNameLayout = new QHBoxLayout(this);
m_advSettingsBtn = new QPushButton(tr("Advanced"), this);
- m_selectRemoteBtn = new QPushButton(tr("Select m_remote"), this);
+ m_selectRemoteBtn = new QPushButton(tr("Select remote"), this);
m_aboutBtn = new QPushButton(tr("About"), this);
m_rateUpBtn = new QPushButton(
QIcon(settings.value("rateUpIcon",
m_remoteNameLabel = new QLabel(this);
m_ratingLabel = new QLabel(this);
+ m_ratingLabel->setText(tr("Rating"));
m_remoteNameLayout->addWidget(m_remoteNameLabel);
m_remoteNameLayout->addWidget(m_ratingLabel);
m_remoteNameLayout->addWidget(m_rateUpBtn);
SelectRemoteDlg dlg(this);
connect(&dlg, SIGNAL(m_remoteChanged(Remote)),
this, SLOT(setRemote(Remote)));
+ updateRemoteInfo();
dlg.exec();
}
void SettingsDlg::setRemote(Remote r)
{
m_remote = r;
- updateRemoteInfo();
enableRateBtns();
}