diff --git a/effects/coverswitch_config.cpp b/effects/coverswitch_config.cpp
index 41c701d04d..5a640ce716 100644
--- a/effects/coverswitch_config.cpp
+++ b/effects/coverswitch_config.cpp
@@ -22,7 +22,7 @@ along with this program. If not, see .
#include
-#include
+#include
#ifndef KDE_USE_FINAL
KWIN_EFFECT_CONFIG_FACTORY
#endif
@@ -40,9 +40,9 @@ CoverSwitchEffectConfig::CoverSwitchEffectConfig(QWidget* parent, const QVariant
{
m_ui = new CoverSwitchEffectConfigForm(this);
- QGridLayout* layout = new QGridLayout(this);
+ QVBoxLayout* layout = new QVBoxLayout(this);
- layout->addWidget(m_ui, 0, 0);
+ layout->addWidget(m_ui);
connect(m_ui->checkAnimateSwitch, SIGNAL(stateChanged(int)), this, SLOT(changed()));
connect(m_ui->checkAnimateStart, SIGNAL(stateChanged(int)), this, SLOT(changed()));
diff --git a/effects/cube_config.cpp b/effects/cube_config.cpp
index c5ba7cf443..bb0790d051 100644
--- a/effects/cube_config.cpp
+++ b/effects/cube_config.cpp
@@ -27,7 +27,7 @@ along with this program. If not, see .
#include
#include
-#include
+#include
#include
#ifndef KDE_USE_FINAL
KWIN_EFFECT_CONFIG_FACTORY
@@ -46,9 +46,9 @@ CubeEffectConfig::CubeEffectConfig(QWidget* parent, const QVariantList& args) :
{
m_ui = new CubeEffectConfigForm(this);
- QGridLayout* layout = new QGridLayout(this);
+ QVBoxLayout* layout = new QVBoxLayout(this);
- layout->addWidget(m_ui, 0, 0);
+ layout->addWidget(m_ui);
m_ui->tabWidget->setTabText( 0, i18n("Basic") );
m_ui->tabWidget->setTabText( 1, i18n("Advanced") );
diff --git a/effects/cylinder_config.cpp b/effects/cylinder_config.cpp
index 157a10c050..6d9dced9d4 100644
--- a/effects/cylinder_config.cpp
+++ b/effects/cylinder_config.cpp
@@ -27,7 +27,7 @@ along with this program. If not, see .
#include
#include
-#include
+#include
#include
#ifndef KDE_USE_FINAL
KWIN_EFFECT_CONFIG_FACTORY
@@ -46,7 +46,7 @@ CylinderEffectConfig::CylinderEffectConfig(QWidget* parent, const QVariantList&
{
m_ui = new CylinderEffectConfigForm(this);
- QGridLayout* layout = new QGridLayout(this);
+ QVBoxLayout* layout = new QVBoxLayout(this);
layout->addWidget(m_ui, 0, 0);
diff --git a/effects/diminactive_config.cpp b/effects/diminactive_config.cpp
index 8aa5c84e3e..d40643357e 100644
--- a/effects/diminactive_config.cpp
+++ b/effects/diminactive_config.cpp
@@ -29,7 +29,7 @@ along with this program. If not, see .
#include
#include
-#include
+#include
KWIN_EFFECT_CONFIG_FACTORY
@@ -48,9 +48,9 @@ DimInactiveEffectConfig::DimInactiveEffectConfig(QWidget* parent, const QVariant
m_ui = new DimInactiveEffectConfigForm(this);
- QGridLayout* layout = new QGridLayout(this);
+ QVBoxLayout* layout = new QVBoxLayout(this);
- layout->addWidget(m_ui, 0, 0);
+ layout->addWidget(m_ui);
connect(m_ui->spinStrength, SIGNAL(valueChanged(int)), this, SLOT(changed()));
connect(m_ui->checkPanel, SIGNAL(toggled(bool)), this, SLOT(changed()));
diff --git a/effects/flipswitch_config.cpp b/effects/flipswitch_config.cpp
index 7d33324c5c..fc63eda2c2 100644
--- a/effects/flipswitch_config.cpp
+++ b/effects/flipswitch_config.cpp
@@ -22,7 +22,7 @@ along with this program. If not, see .
#include
-#include
+#include
#ifndef KDE_USE_FINAL
KWIN_EFFECT_CONFIG_FACTORY
#endif
@@ -40,9 +40,9 @@ FlipSwitchEffectConfig::FlipSwitchEffectConfig(QWidget* parent, const QVariantLi
{
m_ui = new FlipSwitchEffectConfigForm(this);
- QGridLayout* layout = new QGridLayout(this);
+ QVBoxLayout* layout = new QVBoxLayout(this);
- layout->addWidget(m_ui, 0, 0);
+ layout->addWidget(m_ui);
connect(m_ui->checkAnimateFlip, SIGNAL(stateChanged(int)), this, SLOT(changed()));
connect(m_ui->spinFlipDuration, SIGNAL(valueChanged(int)), this, SLOT(changed()));
diff --git a/effects/lookingglass_config.cpp b/effects/lookingglass_config.cpp
index 15e7aa9b64..77e9c61ab5 100644
--- a/effects/lookingglass_config.cpp
+++ b/effects/lookingglass_config.cpp
@@ -30,7 +30,7 @@ along with this program. If not, see .
#include
#include
-#include
+#include
KWIN_EFFECT_CONFIG_FACTORY
@@ -49,9 +49,9 @@ LookingGlassEffectConfig::LookingGlassEffectConfig(QWidget* parent, const QVaria
m_ui = new LookingGlassEffectConfigForm(this);
- QGridLayout* layout = new QGridLayout(this);
+ QVBoxLayout* layout = new QVBoxLayout(this);
- layout->addWidget(m_ui, 0, 0);
+ layout->addWidget(m_ui);
connect(m_ui->editor, SIGNAL(keyChange()), this, SLOT(changed()));
connect(m_ui->radiusSpin, SIGNAL(valueChanged(int)), this, SLOT(changed()));
diff --git a/effects/magnifier_config.cpp b/effects/magnifier_config.cpp
index 141d3755fe..6b9b255c6f 100644
--- a/effects/magnifier_config.cpp
+++ b/effects/magnifier_config.cpp
@@ -30,7 +30,7 @@ along with this program. If not, see .
#include
#include
-#include
+#include
KWIN_EFFECT_CONFIG_FACTORY
@@ -49,9 +49,9 @@ MagnifierEffectConfig::MagnifierEffectConfig(QWidget* parent, const QVariantList
m_ui = new MagnifierEffectConfigForm(this);
- QGridLayout* layout = new QGridLayout(this);
+ QVBoxLayout* layout = new QVBoxLayout(this);
- layout->addWidget(m_ui, 0, 0);
+ layout->addWidget(m_ui);
connect(m_ui->editor, SIGNAL(keyChange()), this, SLOT(changed()));
connect(m_ui->spinWidth, SIGNAL(valueChanged(int)), this, SLOT(changed()));
diff --git a/effects/maketransparent_config.cpp b/effects/maketransparent_config.cpp
index 930d783032..e7be062ca4 100644
--- a/effects/maketransparent_config.cpp
+++ b/effects/maketransparent_config.cpp
@@ -26,7 +26,7 @@ along with this program. If not, see .
#include
#include
-#include
+#include
#include
#ifndef KDE_USE_FINAL
@@ -45,8 +45,8 @@ MakeTransparentEffectConfig::MakeTransparentEffectConfig(QWidget* parent, const
{
kDebug() ;
m_ui = new MakeTransparentEffectConfigForm(this);
- QGridLayout* layout = new QGridLayout(this);
- layout->addWidget(m_ui, 0, 0);
+ QVBoxLayout* layout = new QVBoxLayout(this);
+ layout->addWidget(m_ui);
connect(m_ui->decorations, SIGNAL(valueChanged(int)), this, SLOT(changed()));
connect(m_ui->inactive, SIGNAL(valueChanged(int)), this, SLOT(changed()));
diff --git a/effects/mousemark_config.cpp b/effects/mousemark_config.cpp
index 85ee63598b..6f095811b4 100644
--- a/effects/mousemark_config.cpp
+++ b/effects/mousemark_config.cpp
@@ -49,9 +49,9 @@ MouseMarkEffectConfig::MouseMarkEffectConfig(QWidget* parent, const QVariantList
m_ui = new MouseMarkEffectConfigForm(this);
- QGridLayout* layout = new QGridLayout(this);
+ QVBoxLayout* layout = new QVBoxLayout(this);
- layout->addWidget(m_ui, 0, 0);
+ layout->addWidget(m_ui);
connect(m_ui->editor, SIGNAL(keyChange()), this, SLOT(changed()));
connect(m_ui->spinWidth, SIGNAL(valueChanged(int)), this, SLOT(changed()));
diff --git a/effects/snow_config.cpp b/effects/snow_config.cpp
index 2cb1335f95..326a328a08 100644
--- a/effects/snow_config.cpp
+++ b/effects/snow_config.cpp
@@ -27,7 +27,7 @@ along with this program. If not, see .
#include
#include
-#include
+#include
#ifndef KDE_USE_FINAL
KWIN_EFFECT_CONFIG_FACTORY
#endif
@@ -46,9 +46,9 @@ SnowEffectConfig::SnowEffectConfig(QWidget* parent, const QVariantList& args) :
m_ui = new SnowEffectConfigForm(this);
- QGridLayout* layout = new QGridLayout(this);
+ QVBoxLayout* layout = new QVBoxLayout(this);
- layout->addWidget(m_ui, 0, 0);
+ layout->addWidget(m_ui);
connect(m_ui->editor, SIGNAL(keyChange()), this, SLOT(changed()));
connect(m_ui->numberFlakes, SIGNAL(valueChanged(int)), this, SLOT(changed()));
diff --git a/effects/sphere_config.cpp b/effects/sphere_config.cpp
index 68ef9ea75f..cb33aee23b 100644
--- a/effects/sphere_config.cpp
+++ b/effects/sphere_config.cpp
@@ -46,9 +46,9 @@ SphereEffectConfig::SphereEffectConfig(QWidget* parent, const QVariantList& args
{
m_ui = new SphereEffectConfigForm(this);
- QGridLayout* layout = new QGridLayout(this);
+ QVBoxLayout* layout = new QVBoxLayout(this);
- layout->addWidget(m_ui, 0, 0);
+ layout->addWidget(m_ui);
m_ui->tabWidget->setTabText( 0, i18n("Basic") );
m_ui->tabWidget->setTabText( 1, i18n("Advanced") );
diff --git a/effects/thumbnailaside_config.cpp b/effects/thumbnailaside_config.cpp
index 445a847243..1755c22298 100644
--- a/effects/thumbnailaside_config.cpp
+++ b/effects/thumbnailaside_config.cpp
@@ -30,7 +30,7 @@ along with this program. If not, see .
#include
#include
-#include
+#include
KWIN_EFFECT_CONFIG_FACTORY
@@ -49,9 +49,9 @@ ThumbnailAsideEffectConfig::ThumbnailAsideEffectConfig(QWidget* parent, const QV
m_ui = new ThumbnailAsideEffectConfigForm(this);
- QGridLayout* layout = new QGridLayout(this);
+ QVBoxLayout* layout = new QVBoxLayout(this);
- layout->addWidget(m_ui, 0, 0);
+ layout->addWidget(m_ui);
connect(m_ui->editor, SIGNAL(keyChange()), this, SLOT(changed()));
connect(m_ui->spinWidth, SIGNAL(valueChanged(int)), this, SLOT(changed()));