From 961a1d8d50f36ab52bea12f6650aafbccefdf5f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mathias=20Panzenb=C3=B6ck?= Date: Sun, 16 Feb 2014 06:41:21 +0100 Subject: [PATCH] fix comment parsing --- src/layout.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/layout.cpp b/src/layout.cpp index 2cc6744..6d193bc 100644 --- a/src/layout.cpp +++ b/src/layout.cpp @@ -126,7 +126,7 @@ bool LayoutManager::load(const QString& name) { return false; } } - else if (word == QLatin1String("#")) { + else if (word.startsWith('#')) { // ignore comment stream.readLine(); }