summaryrefslogtreecommitdiff
path: root/format-security.patch
blob: 18735ad9620d376343dbc3d46263f12fec239988 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/generator/reporthandler.cpp
+++ b/generator/reporthandler.cpp
@@ -57,7 +57,7 @@ void ReportHandler::warning(const QStrin
     if (db && db->isSuppressedWarning(warningText)) {
         ++m_suppressed_count;
     } else if (!m_reported_warnings.contains(warningText)) {
-        qDebug(qPrintable(warningText));
+        qDebug() << warningText;
         ++m_warning_count;
 
         m_reported_warnings.insert(warningText);