Diffstat (limited to 'noncore/settings/mediummount/mediumwidget.cc') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/mediummount/mediumwidget.cc | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/noncore/settings/mediummount/mediumwidget.cc b/noncore/settings/mediummount/mediumwidget.cc index f39a6ed..ec5b9d5 100644 --- a/noncore/settings/mediummount/mediumwidget.cc +++ b/noncore/settings/mediummount/mediumwidget.cc | |||
@@ -33,7 +33,2 @@ MediumMountWidget::MediumMountWidget(const QString &path, | |||
33 | { | 33 | { |
34 | if(parent == 0){ | ||
35 | resize(QApplication::desktop()->width(), QApplication::desktop()->height() ); | ||
36 | }else{ | ||
37 | resize(parent->width(), parent->height() ); | ||
38 | } | ||
39 | m_path = path; | 34 | m_path = path; |
@@ -110,3 +105,3 @@ void MediumMountWidget::initGUI() | |||
110 | 105 | ||
111 | 106 | ||
112 | m_subList = new QComboBox(FALSE,this,"docFolderList"); | 107 | m_subList = new QComboBox(FALSE,this,"docFolderList"); |
@@ -121,3 +116,3 @@ void MediumMountWidget::initGUI() | |||
121 | m_del->setText(tr("Remove")); | 116 | m_del->setText(tr("Remove")); |
122 | 117 | ||
123 | connect(m_add, SIGNAL(clicked() ), | 118 | connect(m_add, SIGNAL(clicked() ), |
@@ -130,3 +125,3 @@ void MediumMountWidget::initGUI() | |||
130 | connect(m_scan_all_check,SIGNAL(stateChanged(int)),this,SLOT(slotScanAllChanged(int))); | 125 | connect(m_scan_all_check,SIGNAL(stateChanged(int)),this,SLOT(slotScanAllChanged(int))); |
131 | 126 | ||
132 | m_box->addWidget(m_scan_all_check); | 127 | m_box->addWidget(m_scan_all_check); |