diff options
author | daniel-Jones <daniel@danieljon.es> | 2017-02-23 20:42:57 +1030 |
---|---|---|
committer | daniel-Jones <daniel@danieljon.es> | 2017-02-23 20:42:57 +1030 |
commit | 328872afb5e68d4579d73bca55f03b57596564bb (patch) | |
tree | 886929e905cc39272c5fd8d8de9f10d0553fe972 /qt/RGBController/controllerwindow.h | |
parent | fbb63dd9f7eb402cc73abd8eeb00592fbd0c02b1 (diff) | |
download | RGB-Controller-328872afb5e68d4579d73bca55f03b57596564bb.tar.gz RGB-Controller-328872afb5e68d4579d73bca55f03b57596564bb.zip |
Converted presets file location to a safe OS agnostic location (~/.local/share/RGBcontroller on Linux)
Diffstat (limited to 'qt/RGBController/controllerwindow.h')
-rwxr-xr-x | qt/RGBController/controllerwindow.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/qt/RGBController/controllerwindow.h b/qt/RGBController/controllerwindow.h index 8b4456b..0997e82 100755 --- a/qt/RGBController/controllerwindow.h +++ b/qt/RGBController/controllerwindow.h @@ -9,6 +9,8 @@ #include <QSerialPortInfo> #include <QTextStream> #include <QMessageBox> +#include <QStandardPaths> +#include <QDir> #include "serial_communication.h" #include "ui_controllerwindow.h" @@ -42,6 +44,8 @@ class controllerWindow : public QMainWindow QString port; /* this int will contain the current preset index selected */ int preset_index; + QString presetsfile; + QString tempfile; private slots: /* these slots are used to trigger button clicks and drop down items selections etc */ |