forked from quickshell/quickshell
core/reloader: fix file watcher compatibility with vim
This commit is contained in:
parent
4e92d82992
commit
7ad3671dd1
2 changed files with 32 additions and 1 deletions
|
@ -40,6 +40,7 @@ public:
|
|||
ShellRoot* root = nullptr;
|
||||
SingletonRegistry singletonRegistry;
|
||||
QFileSystemWatcher* watcher = nullptr;
|
||||
QVector<QString> deletedWatchedFiles;
|
||||
DelayedQmlIncubationController delayedIncubationController;
|
||||
bool reloadComplete = false;
|
||||
|
||||
|
@ -50,6 +51,8 @@ signals:
|
|||
void reloadFinished();
|
||||
|
||||
private slots:
|
||||
void onFileChanged(const QString& name);
|
||||
void onDirectoryChanged();
|
||||
void incubationControllerDestroyed();
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue