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:
authorKlaas Freitag <freitag@owncloud.com>2013-10-14 18:09:51 +0400
committerKlaas Freitag <freitag@owncloud.com>2013-10-14 18:11:52 +0400
commitf841450daea6ef759fe4789c5844288badb5b7da (patch)
tree33203ebafef899a864a71e5ff09c9bd5ec2d75d4
parent1fccb234424e9a31315e53ac1fb85d188c71976e (diff)
Do append non empty lines not starting with a hash to ignores.
-rw-r--r--src/mirall/folderwatcher.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mirall/folderwatcher.cpp b/src/mirall/folderwatcher.cpp
index 60c9ba944..5f61e8356 100644
--- a/src/mirall/folderwatcher.cpp
+++ b/src/mirall/folderwatcher.cpp
@@ -79,7 +79,7 @@ void FolderWatcher::addIgnoreListFile( const QString& file )
while (!infile.atEnd()) {
QString line = QString::fromLocal8Bit( infile.readLine() ).trimmed();
- if( !line.startsWith( QLatin1Char('#') ) && line.isEmpty() ) {
+ if( !(line.startsWith( QLatin1Char('#') ) || line.isEmpty()) ) {
_ignores.append(line);
}
}