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:
Diffstat (limited to 'src/mirall/unisonfolder.cpp')
-rw-r--r--src/mirall/unisonfolder.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mirall/unisonfolder.cpp b/src/mirall/unisonfolder.cpp
index 2c6373b95..3e4eb56d3 100644
--- a/src/mirall/unisonfolder.cpp
+++ b/src/mirall/unisonfolder.cpp
@@ -12,14 +12,14 @@
* for more details.
*/
+#include "mirall/unisonfolder.h"
+
#include <QDebug>
#include <QDir>
#include <QMutexLocker>
#include <QStringList>
#include <QTextStream>
-#include "mirall/unisonfolder.h"
-
namespace Mirall {
UnisonFolder::UnisonFolder(const QString &alias,
@@ -77,7 +77,7 @@ void UnisonFolder::startSync(const QStringList &pathList)
if (_syncCount > 0 ) {
// may be we should use a QDir in the API itself?
QDir root(path());
- foreach(QString changedPath, pathList) {
+ foreach( const QString& changedPath, pathList) {
args << "-path" << root.relativeFilePath(changedPath);
}
}