From c05033d44c6f6c1627a250c476f20b8a0993f004 Mon Sep 17 00:00:00 2001 From: Andre Rummler Date: Sat, 12 Sep 2026 14:50:22 +0200 Subject: [PATCH] Guard debug output. --- sources/titleblocktemplate.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sources/titleblocktemplate.cpp b/sources/titleblocktemplate.cpp index fb9d16e04..d38c893f6 100644 --- a/sources/titleblocktemplate.cpp +++ b/sources/titleblocktemplate.cpp @@ -428,7 +428,9 @@ void TitleBlockTemplate::parseColumns(const QString &cols_string) { rel_col_size_format.setPattern("^([rt])([0-9]+)%$"); rel_col_size_format.setPatternOptions(QRegularExpression::CaseInsensitiveOption); bool conv_ok; +#ifdef TITLEBLOCK_TEMPLATE_DEBUG qDebug() <<"is QRegularExpression ok?"; +#endif QStringList cols_descriptions = cols_string.split(QChar(';'), Qt::SkipEmptyParts);