Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Kamm <mail@ckamm.de>2017-05-17 11:55:42 +0300
committerckamm <mail@ckamm.de>2017-05-17 13:26:27 +0300
commitc8d0f788e00bdae125a26d9159ce9efdd6325cd2 (patch)
treead77cb515fe650984e6b76dfffe09838090d77bd /src/gui/folderwatcher_linux.h
parentae263d60bd6d1bc0eb0c3712bab11de120b8cdd3 (diff)
Apply clang-format
Diffstat (limited to 'src/gui/folderwatcher_linux.h')
-rw-r--r--src/gui/folderwatcher_linux.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/gui/folderwatcher_linux.h b/src/gui/folderwatcher_linux.h
index 9c7ef2a98..24d337777 100644
--- a/src/gui/folderwatcher_linux.h
+++ b/src/gui/folderwatcher_linux.h
@@ -23,8 +23,7 @@
#include "folderwatcher.h"
-namespace OCC
-{
+namespace OCC {
/**
* @brief Linux (inotify) API implementation of FolderWatcher
@@ -34,7 +33,7 @@ class FolderWatcherPrivate : public QObject
{
Q_OBJECT
public:
- FolderWatcherPrivate() { }
+ FolderWatcherPrivate() {}
FolderWatcherPrivate(FolderWatcher *p, const QString &path);
~FolderWatcherPrivate();
@@ -46,18 +45,17 @@ protected slots:
void slotAddFolderRecursive(const QString &path);
protected:
- bool findFoldersBelow( const QDir& dir, QStringList& fullList );
- void inotifyRegisterPath(const QString& path);
+ bool findFoldersBelow(const QDir &dir, QStringList &fullList);
+ void inotifyRegisterPath(const QString &path);
private:
FolderWatcher *_parent;
QString _folder;
- QHash <int, QString> _watches;
+ QHash<int, QString> _watches;
QScopedPointer<QSocketNotifier> _socket;
int _fd;
};
-
}
#endif