Add preferred text editor to PorymapConfig

This commit is contained in:
BigBahss
2020-11-16 06:46:21 -05:00
parent 5927f3dd7b
commit 0a15dfbf4c
2 changed files with 15 additions and 0 deletions

View File

@@ -61,6 +61,7 @@ public:
void setMonitorFiles(bool monitor);
void setRegionMapDimensions(int width, int height);
void setTheme(QString theme);
void setTextEditorCommand(const QString &command);
QString getRecentProject();
QString getRecentMap();
MapSortOrder getMapSortOrder();
@@ -76,6 +77,7 @@ public:
bool getMonitorFiles();
QSize getRegionMapDimensions();
QString getTheme();
QString getTextEditorCommand();
protected:
virtual QString getConfigFilepath() override;
virtual void parseConfigKeyValue(QString key, QString value) override;
@@ -107,6 +109,7 @@ private:
bool monitorFiles;
QSize regionMapDimensions;
QString theme;
QString textEditorCommand;
};
extern PorymapConfig porymapConfig;