diff --git a/kcmkwin/kwinoptions/advanced.ui b/kcmkwin/kwinoptions/advanced.ui
index 8c465b47cc..a0d874d0fd 100644
--- a/kcmkwin/kwinoptions/advanced.ui
+++ b/kcmkwin/kwinoptions/advanced.ui
@@ -38,7 +38,7 @@
-
-
+
Window Tabbing
@@ -162,7 +162,7 @@
-
-
+
Shading
@@ -259,12 +259,6 @@
-
- KButtonGroup
- QGroupBox
-
- 1
-
KComboBox
QComboBox
diff --git a/kcmkwin/kwinoptions/windows.cpp b/kcmkwin/kwinoptions/windows.cpp
index baf4bfb2df..9e4c609d7b 100644
--- a/kcmkwin/kwinoptions/windows.cpp
+++ b/kcmkwin/kwinoptions/windows.cpp
@@ -32,8 +32,8 @@
#include
#include
#include
+#include
-#include
#include
#include
#include
diff --git a/kcmkwin/kwinoptions/windows.h b/kcmkwin/kwinoptions/windows.h
index d82487a317..0895220e23 100644
--- a/kcmkwin/kwinoptions/windows.h
+++ b/kcmkwin/kwinoptions/windows.h
@@ -37,7 +37,7 @@ class KComboBox;
class QGroupBox;
class QLabel;
class QSlider;
-class KButtonGroup;
+class QGroupBox;
class QSpinBox;
class KColorButton;