{
QSettings settings(this);
m_layout = new QVBoxLayout(this);
- m_btnLayout = new QHBoxLayout(m_layout);
- m_remoteNameLayout = new QHBoxLayout(m_layout);
+ m_btnLayout = new QHBoxLayout();
+ m_remoteNameLayout = new QHBoxLayout();
m_advSettingsBtn = new QPushButton(tr("Advanced"), this);
m_selectRemoteBtn = new QPushButton(tr("Select remote"), this);
connect(m_rateDownBtn, SIGNAL(clicked()),
this, SLOT(rateDownClicked()));
+ m_layout->addLayout(m_remoteNameLayout);
+ m_layout->addLayout(m_btnLayout);
this->setLayout(m_layout);
QString selectedRemote = QSettings(this).value("remoteName", "").toString();