projects
/
irwi
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7f8597a
)
Fixed previous SettingsDlg layout fix
author
Jari Jarvi
<t7jaja00@students.oamk.fi>
Tue, 29 Jun 2010 09:00:29 +0000
(12:00 +0300)
committer
Jari Jarvi
<t7jaja00@students.oamk.fi>
Tue, 29 Jun 2010 09:00:29 +0000
(12:00 +0300)
src/settingsdlg.cpp
patch
|
blob
|
history
diff --git
a/src/settingsdlg.cpp
b/src/settingsdlg.cpp
index
c721f49
..
1be79bb
100644
(file)
--- a/
src/settingsdlg.cpp
+++ b/
src/settingsdlg.cpp
@@
-16,8
+16,8
@@
SettingsDlg::SettingsDlg(QWidget *parent)
{
QSettings settings(this);
m_layout = new QVBoxLayout(this);
{
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);
m_advSettingsBtn = new QPushButton(tr("Advanced"), this);
m_selectRemoteBtn = new QPushButton(tr("Select remote"), this);
@@
-57,6
+57,8
@@
SettingsDlg::SettingsDlg(QWidget *parent)
connect(m_rateDownBtn, SIGNAL(clicked()),
this, SLOT(rateDownClicked()));
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();
this->setLayout(m_layout);
QString selectedRemote = QSettings(this).value("remoteName", "").toString();