Diffstat (limited to 'noncore/settings/mediummount/mediumwidget.cc') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/mediummount/mediumwidget.cc | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/noncore/settings/mediummount/mediumwidget.cc b/noncore/settings/mediummount/mediumwidget.cc index 04e4e7c..f98e637 100644 --- a/noncore/settings/mediummount/mediumwidget.cc +++ b/noncore/settings/mediummount/mediumwidget.cc | |||
@@ -37,5 +37,5 @@ MediumMountWidget::MediumMountWidget(const QString &path, | |||
37 | initGUI(); | 37 | initGUI(); |
38 | m_label->setPixmap(pix ); | 38 | m_label->setPixmap(pix ); |
39 | m_config = 0; | 39 | m_config = 0; |
40 | 40 | ||
41 | readConfig(); | 41 | readConfig(); |
@@ -82,5 +82,5 @@ void MediumMountWidget::initGUI() | |||
82 | m_video = new QCheckBox( tr("Video"), m_group ); | 82 | m_video = new QCheckBox( tr("Video"), m_group ); |
83 | 83 | ||
84 | QSpacerItem *iti1b = new QSpacerItem(2, 10, QSizePolicy::Fixed, | 84 | QSpacerItem *iti1b = new QSpacerItem(2, 10, QSizePolicy::Fixed, |
85 | QSizePolicy::Fixed ); | 85 | QSizePolicy::Fixed ); |
86 | m_checks->addItem( iti1b, 0, 0 ); | 86 | m_checks->addItem( iti1b, 0, 0 ); |
@@ -97,5 +97,5 @@ void MediumMountWidget::initGUI() | |||
97 | m_checks->setColStretch(1, -2 ); | 97 | m_checks->setColStretch(1, -2 ); |
98 | 98 | ||
99 | connect(m_all, SIGNAL(stateChanged(int) ), | 99 | connect(m_all, SIGNAL(stateChanged(int) ), |
100 | this, SLOT(slotStateChanged() ) ); | 100 | this, SLOT(slotStateChanged() ) ); |
101 | 101 | ||
@@ -144,5 +144,5 @@ void MediumMountWidget::readConfig( ) | |||
144 | m_image->setEnabled( true ); | 144 | m_image->setEnabled( true ); |
145 | m_text->setEnabled ( true ); | 145 | m_text->setEnabled ( true ); |
146 | m_all->setEnabled ( true ); | 146 | m_all->setEnabled ( true ); |
147 | 147 | ||
148 | m_all->setChecked( false ); | 148 | m_all->setChecked( false ); |
@@ -172,9 +172,7 @@ void MediumMountWidget::writeConfig() | |||
172 | MediumMountWidget::~MediumMountWidget() | 172 | MediumMountWidget::~MediumMountWidget() |
173 | { | 173 | { |
174 | writeConfig(); | ||
175 | delete m_config; | 174 | delete m_config; |
176 | } | 175 | } |
177 | 176 | ||
178 | |||
179 | void MediumMountWidget::slotAdd() | 177 | void MediumMountWidget::slotAdd() |
180 | { | 178 | { |