removed unused or useless stuff,

renamed some functions for better description,
repaired the SettingsManager usage,
ToDo:
Dropdown list is not updated, it needs a restart,
display names for the directories instead of the path,
This commit is contained in:
Anakin
2017-06-17 15:42:43 +02:00
parent 6141263f45
commit 33fafb29a8
6 changed files with 89 additions and 108 deletions

View File

@@ -22,8 +22,8 @@ public:
// attributes
private:
QFile file;
QString listOfDirs;
QFile m_file;
QStringList m_listOfDirs;
QVector3D m_bgColorOn = { 5, 5, 5 };
QVector3D m_bgColorOff = { 128, 204, 255 };
@@ -47,8 +47,7 @@ public:
bool isBfCulling() const;
bool isLight() const;
QString getListOfDirs();
void setListOfDirs(QString);
QStringList getListOfDirs();
int getLightType() const;
QVector3D getLightColor() const;
@@ -72,4 +71,5 @@ public:
void setHeadlight(bool value);
void setAutoColor(int value);
void updateDirectories(QString path);
};