summaryrefslogtreecommitdiffstats
path: root/logic/RecursiveFileSystemWatcher.h
diff options
context:
space:
mode:
authorJan Dalheimer <jan@dalheimer.de>2014-07-12 23:02:52 +0200
committerPetr Mrázek <peterix@gmail.com>2014-07-12 23:31:06 +0200
commit4c0dc51110603cbe0e98228c703e26402094a3cc (patch)
treeb056d601ba2494e046752e5c94e3049182293515 /logic/RecursiveFileSystemWatcher.h
parent5c4384235989b16d6931cc0cfa26dd192af68b96 (diff)
downloadMultiMC-4c0dc51110603cbe0e98228c703e26402094a3cc.tar
MultiMC-4c0dc51110603cbe0e98228c703e26402094a3cc.tar.gz
MultiMC-4c0dc51110603cbe0e98228c703e26402094a3cc.tar.lz
MultiMC-4c0dc51110603cbe0e98228c703e26402094a3cc.tar.xz
MultiMC-4c0dc51110603cbe0e98228c703e26402094a3cc.zip
Finish of the OtherLogs page, and (re)format page related files
Diffstat (limited to 'logic/RecursiveFileSystemWatcher.h')
-rw-r--r--logic/RecursiveFileSystemWatcher.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/logic/RecursiveFileSystemWatcher.h b/logic/RecursiveFileSystemWatcher.h
index 54fc1d12..339172bb 100644
--- a/logic/RecursiveFileSystemWatcher.h
+++ b/logic/RecursiveFileSystemWatcher.h
@@ -25,8 +25,7 @@ signals:
void filesChanged();
void fileChanged(const QString &path);
-public
-slots:
+public slots:
void enable();
void disable();
@@ -39,13 +38,12 @@ private:
QFileSystemWatcher *m_watcher;
QStringList m_files;
- void setFiles(const QStringList &scanRecursive);
+ void setFiles(const QStringList &files);
void addFilesToWatcherRecursive(const QDir &dir);
QStringList scanRecursive(const QDir &dir);
-private
-slots:
+private slots:
void fileChange(const QString &path);
void directoryChange(const QString &path);
};