diff options
author | Klaas Freitag <freitag@owncloud.com> | 2013-10-14 18:09:51 +0400 |
---|---|---|
committer | Klaas Freitag <freitag@owncloud.com> | 2013-10-14 18:11:52 +0400 |
commit | f841450daea6ef759fe4789c5844288badb5b7da (patch) | |
tree | 33203ebafef899a864a71e5ff09c9bd5ec2d75d4 | |
parent | 1fccb234424e9a31315e53ac1fb85d188c71976e (diff) |
Do append non empty lines not starting with a hash to ignores.
-rw-r--r-- | src/mirall/folderwatcher.cpp | 2 |
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); } } |