Use QDialog instead of QWidget for Settings
[qcpufreq] / src / mainwindow.h
index 8be058e..c8866a8 100644 (file)
@@ -26,7 +26,7 @@
 #include <QStringList>
 
 #include "helpwindow.h"
-#include "settingswidget.h"
+#include "settings.h"
 
 namespace Ui {
     class MainWindow;
@@ -83,7 +83,7 @@ private:
     //! the QGraphicsScene will contain the large chip icon displayed in the UI
     QGraphicsScene scene;
     bool showSudoError;
-    SettingsWidget settings;
+    Settings settings;
     bool usePortrait();
 };