fix comment parsing

This commit is contained in:
Mathias Panzenböck
2014-02-16 06:41:21 +01:00
parent 1ab111f3a5
commit 961a1d8d50

View File

@ -126,7 +126,7 @@ bool LayoutManager::load(const QString& name) {
return false; return false;
} }
} }
else if (word == QLatin1String("#")) { else if (word.startsWith('#')) {
// ignore comment // ignore comment
stream.readLine(); stream.readLine();
} }