mirror of
https://github.com/huderlem/porymap.git
synced 2026-09-08 17:05:43 -05:00
monitor files for changes
- add fileWatcher to project that monitors changes to most files
(except map and layout json files)
- add config setting whether to monitor files for changes (monitor_files)
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
#include <QPair>
|
||||
#include <QStandardItem>
|
||||
#include <QVariant>
|
||||
#include <QFileSystemWatcher>
|
||||
|
||||
static QString NONE_MAP_CONSTANT = "MAP_NONE";
|
||||
static QString NONE_MAP_NAME = "None";
|
||||
@@ -61,6 +62,7 @@ public:
|
||||
QMap<int, QString> metatileBehaviorMapInverse;
|
||||
QMap<QString, QString> facingDirections;
|
||||
ParseUtil parser;
|
||||
QFileSystemWatcher fileWatcher;
|
||||
|
||||
void set_root(QString);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user