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:
@@ -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);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user