From 60f7473782b0a4deae11147631d846d7bc8e8bb2 Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Tue, 21 Feb 2012 13:41:25 +0100 Subject: QHash: more robust use of qDebug() I'm sure 'line' can't contain anything resembling a format string, but better safe than sorry. Change-Id: I0aa0f4a5a03d97b18d6a866c27fa721fcbe0f77b Reviewed-by: Kai Koehne --- src/corelib/tools/qhash.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/corelib/tools/qhash.cpp b/src/corelib/tools/qhash.cpp index e941a9cbaf..36497c59ff 100644 --- a/src/corelib/tools/qhash.cpp +++ b/src/corelib/tools/qhash.cpp @@ -403,7 +403,7 @@ void QHashData::dump() } n = n->next; } - qDebug(qPrintable(line)); + qDebug("%s", qPrintable(line)); } } } -- cgit v1.2.3