X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Fsettingsdlg.cpp;h=c88da36290346b8dec68ec3fbfee947ade10b57e;hb=e2743dbaf2c4aec93ffd5453e0eb8efe99be9995;hp=43e590b4c47feeb6392f8214be934c3d77e4ccce;hpb=a7e6314c81499afea2a45e45d3baa239d8318a58;p=irwi diff --git a/src/settingsdlg.cpp b/src/settingsdlg.cpp index 43e590b..c88da36 100644 --- a/src/settingsdlg.cpp +++ b/src/settingsdlg.cpp @@ -16,8 +16,8 @@ SettingsDlg::SettingsDlg(QWidget *parent) { QSettings settings(this); m_layout = new QVBoxLayout(this); - m_btnLayout = new QHBoxLayout(this); - m_remoteNameLayout = new QHBoxLayout(this); + m_btnLayout = new QHBoxLayout(); + m_remoteNameLayout = new QHBoxLayout(); m_advSettingsBtn = new QPushButton(tr("Advanced"), this); m_selectRemoteBtn = new QPushButton(tr("Select remote"), this); @@ -67,7 +67,6 @@ SettingsDlg::SettingsDlg(QWidget *parent) enableRateBtns(false); } else { setRemote(selectedRemote); - m_remote.updateInfo(); setBusy(); } } @@ -94,13 +93,13 @@ void SettingsDlg::setBusy(bool busy) void SettingsDlg::showAdvSettingsDlg() { - AdvSettingsDlg dlg(this); + AdvSettingsDlg dlg; dlg.exec(); } void SettingsDlg::showSelectRemoteDlg() { - SelectRemoteDlg dlg(this); + SelectRemoteDlg dlg; connect(&dlg, SIGNAL(remoteChanged(Remote)), this, SLOT(setRemote(Remote))); dlg.exec(); @@ -108,7 +107,7 @@ void SettingsDlg::showSelectRemoteDlg() void SettingsDlg::showAboutDlg() { - AboutDlg dlg(this); + AboutDlg dlg; dlg.exec(); }