-rw-r--r-- | noncore/settings/mediummount/main.cpp | 1 | ||||
-rw-r--r-- | noncore/settings/mediummount/mediumwidget.cc | 8 |
2 files changed, 5 insertions, 4 deletions
diff --git a/noncore/settings/mediummount/main.cpp b/noncore/settings/mediummount/main.cpp index e4443bd..118a725 100644 --- a/noncore/settings/mediummount/main.cpp +++ b/noncore/settings/mediummount/main.cpp | |||
@@ -11,6 +11,7 @@ int main( int argc, char ** argv ) | |||
11 | 11 | ||
12 | MediumMountSetting::MainWindow mw; | 12 | MediumMountSetting::MainWindow mw; |
13 | a.showMainWidget( &mw ); | 13 | a.showMainWidget( &mw ); |
14 | mw.showMaximized(); | ||
14 | 15 | ||
15 | return a.exec(); | 16 | return a.exec(); |
16 | } | 17 | } |
diff --git a/noncore/settings/mediummount/mediumwidget.cc b/noncore/settings/mediummount/mediumwidget.cc index f98e637..eadf502 100644 --- a/noncore/settings/mediummount/mediumwidget.cc +++ b/noncore/settings/mediummount/mediumwidget.cc | |||
@@ -46,12 +46,12 @@ void MediumMountWidget::initGUI() | |||
46 | { | 46 | { |
47 | //main layout | 47 | //main layout |
48 | m_box = new QVBoxLayout( this , 5, 5 ); | 48 | m_box = new QVBoxLayout( this , 5, 5 ); |
49 | m_box->setSpacing( 5 ); | 49 | //m_box->setSpacing( 5 ); |
50 | //m_box->addStretch( -1 ); | 50 | //m_box->addStretch( -1 ); |
51 | 51 | ||
52 | // picture + text | 52 | // picture + text |
53 | m_infoBox = new QHBox(this, "infobox" ); | 53 | m_infoBox = new QHBox(this, "infobox" ); |
54 | m_infoBox->setSpacing( 4 ); | 54 | //m_infoBox->setSpacing( 4 ); |
55 | m_label = new QLabel(m_infoBox ); | 55 | m_label = new QLabel(m_infoBox ); |
56 | m_desc = new QLabel(m_infoBox ); | 56 | m_desc = new QLabel(m_infoBox ); |
57 | m_desc->setTextFormat( Qt::RichText ); | 57 | m_desc->setTextFormat( Qt::RichText ); |
@@ -66,7 +66,7 @@ void MediumMountWidget::initGUI() | |||
66 | // groupbox | 66 | // groupbox |
67 | m_group = new QGroupBox(tr("Which media files"), this, "MediaFiles" ); | 67 | m_group = new QGroupBox(tr("Which media files"), this, "MediaFiles" ); |
68 | m_checks = new QGridLayout( m_group, 4, 3 ); | 68 | m_checks = new QGridLayout( m_group, 4, 3 ); |
69 | m_checks->setMargin( 12 ); | 69 | //m_checks->setMargin( 12 ); |
70 | 70 | ||
71 | 71 | ||
72 | 72 | ||
@@ -107,7 +107,7 @@ void MediumMountWidget::initGUI() | |||
107 | 107 | ||
108 | // add to | 108 | // add to |
109 | m_hboxAdd = new QHBox( this ); | 109 | m_hboxAdd = new QHBox( this ); |
110 | m_hboxAdd->setSpacing( 10 ); | 110 | //m_hboxAdd->setSpacing( 10 ); |
111 | m_edit = new QLineEdit(m_hboxAdd ); | 111 | m_edit = new QLineEdit(m_hboxAdd ); |
112 | m_add = new QPushButton(m_hboxAdd ); | 112 | m_add = new QPushButton(m_hboxAdd ); |
113 | m_add->setText( tr("Add") ); | 113 | m_add->setText( tr("Add") ); |