-rw-r--r-- | library/config.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/library/config.cpp b/library/config.cpp index e07eecb..1121cd4 100644 --- a/library/config.cpp +++ b/library/config.cpp | |||
@@ -535,4 +535,8 @@ bool Config::parse( const QString &l ) | |||
535 | { | 535 | { |
536 | QString line = l.stripWhiteSpace(); | 536 | QString line = l.stripWhiteSpace(); |
537 | |||
538 | if ( line [0] == QChar ( '#' )) | ||
539 | return true; // ignore comments | ||
540 | |||
537 | if ( line[ 0 ] == QChar( '[' ) ) { | 541 | if ( line[ 0 ] == QChar( '[' ) ) { |
538 | QString gname = line; | 542 | QString gname = line; |