summaryrefslogtreecommitdiff
path: root/noncore/settings/mediummount/mediumglobal.cc
Side-by-side diff
Diffstat (limited to 'noncore/settings/mediummount/mediumglobal.cc') (more/less context) (show whitespace changes)
-rw-r--r--noncore/settings/mediummount/mediumglobal.cc13
1 files changed, 6 insertions, 7 deletions
diff --git a/noncore/settings/mediummount/mediumglobal.cc b/noncore/settings/mediummount/mediumglobal.cc
index fa4171c..46d3343 100644
--- a/noncore/settings/mediummount/mediumglobal.cc
+++ b/noncore/settings/mediummount/mediumglobal.cc
@@ -16,7 +16,7 @@
using namespace MediumMountSetting;
MediumGlobalWidget::MediumGlobalWidget(QWidget *wid, const char *name )
- : QWidget( wid, name )
+ : QWidget( wid, name, WStyle_ContextHelp )
{
m_config = 0;
initGUI();
@@ -26,8 +26,8 @@ MediumGlobalWidget::MediumGlobalWidget(QWidget *wid, const char *name )
void MediumGlobalWidget::initGUI()
{
m_layout = new QVBoxLayout(this );
- m_layout->setMargin( 10 );
- m_layout->setSpacing( 10 );
+ // m_layout->setMargin( 10 );
+ // m_layout->setSpacing( 10 );
m_label = new QLabel( this );
@@ -61,7 +61,7 @@ void MediumGlobalWidget::initGUI()
m_global = new QGroupBox( tr("Which media files"), m_frame );
m_frameLay = new QGridLayout(m_global, 4, 3 );
- m_frameLay->setMargin( 12 );
+ m_frameLay->setMargin( 6 );
QSpacerItem *item2 = new QSpacerItem( 5, 8,
QSizePolicy::Fixed,
@@ -84,8 +84,8 @@ void MediumGlobalWidget::initGUI()
m_frameLay->addWidget( m_text, 1, 2 );
m_frameLay->addWidget( m_video, 2, 2 );
- m_frameLay->addRowSpacing( 0, 8 );
- m_frameLay->addColSpacing( 1, 2 );
+// m_frameLay->addRowSpacing( 0, 8 );
+// m_frameLay->addColSpacing( 1, 2 );
m_box->addWidget( m_global );
@@ -140,7 +140,6 @@ void MediumGlobalWidget::writeConfig()
}
MediumGlobalWidget::~MediumGlobalWidget()
{
- writeConfig();
delete m_config;
}
void MediumGlobalWidget::slotGlobalChanged()