Fix tracing. Fix restoring previous position.
[dorian] / settingswindow.h
index d5193c2..5117698 100644 (file)
@@ -1,7 +1,10 @@
 #ifndef SETTINGSWINDOW_H
 #define SETTINGSWINDOW_H
 
-#include <QMainWindow>
+#include <QLabel>
+#include <QSlider>
+
+#include "adopterwindow.h"
 
 class QPushButton;
 class QFontComboBox;
@@ -11,7 +14,8 @@ class QFontComboBox;
 class QLabel;
 class ToolButtonBox;
 
-class SettingsWindow: public QMainWindow
+/** Display settings. */
+class SettingsWindow: public AdopterWindow
 {
     Q_OBJECT
 
@@ -31,7 +35,7 @@ public slots:
     void onGrabVolumeToggled(bool enable);
 
 protected:
-#ifdef Q_WS_MAEMO_5
+#if defined(Q_WS_MAEMO_5) || defined(Q_OS_SYMBIAN)
     void closeEvent(QCloseEvent *e);
 #endif