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

github.com/nextcloud/desktop.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/lockwatcher.cpp
parentae263d60bd6d1bc0eb0c3712bab11de120b8cdd3 (diff)
Apply clang-format
Diffstat (limited to 'src/gui/lockwatcher.cpp')
-rw-r--r--src/gui/lockwatcher.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/lockwatcher.cpp b/src/gui/lockwatcher.cpp
index 832edc900..da83744a9 100644
--- a/src/gui/lockwatcher.cpp
+++ b/src/gui/lockwatcher.cpp
@@ -24,15 +24,15 @@ Q_LOGGING_CATEGORY(lcLockWatcher, "gui.lockwatcher", QtInfoMsg)
static const int check_frequency = 20 * 1000; // ms
-LockWatcher::LockWatcher(QObject* parent)
+LockWatcher::LockWatcher(QObject *parent)
: QObject(parent)
{
connect(&_timer, SIGNAL(timeout()),
- SLOT(checkFiles()));
+ SLOT(checkFiles()));
_timer.start(check_frequency);
}
-void LockWatcher::addFile(const QString& path)
+void LockWatcher::addFile(const QString &path)
{
qCInfo(lcLockWatcher) << "Watching for lock of" << path << "being released";
_watchedPaths.insert(path);
@@ -42,7 +42,7 @@ void LockWatcher::checkFiles()
{
QSet<QString> unlocked;
- foreach (const QString& path, _watchedPaths) {
+ foreach (const QString &path, _watchedPaths) {
if (!FileSystem::isFileLocked(path)) {
qCInfo(lcLockWatcher) << "Lock of" << path << "was released";
emit fileUnlocked(path);