Error fixes
[irwi] / src / settingsdlg.h
index 25fbab9..0f08d80 100644 (file)
@@ -2,6 +2,7 @@
 #define SETTINGSDLG_H
 
 #include <QDialog>
+#include <QSettings>
 
 class QWidget;
 class QHBoxLayout;
@@ -21,7 +22,7 @@ private slots:
     void showAdvSettingsDlg();
     void showSelectRemoteDlg();
     void showAboutDlg();
-    void changeRemote(const QString &name);
+    void changeRemote();
     void updateRemoteInfo();
     void rateUpClicked();
     void rateDownClicked();
@@ -30,6 +31,8 @@ private:
     void enableRateBtns(bool enable = true);
 
 private:
+    QSettings settings;
+
     QVBoxLayout *layout;
     QHBoxLayout *btnLayout;
     QHBoxLayout *remoteNameLayout;