Description: Always use a format string in qDebug()
 Fix the warning "exceptionmanager.cpp:38:37: error: format not a string
 literal and no format arguments [-Werror=format-security]"
Author: Andrey Rahmatullin <wrar@wrar.name>
Forwarded: no
Last-Update: 2012-06-15

diff --git a/src/exceptionmanager.cpp b/src/exceptionmanager.cpp
index 2162fcc..7c830b1 100644
--- a/src/exceptionmanager.cpp
+++ b/src/exceptionmanager.cpp
@@ -35,7 +35,7 @@ bool ExceptionManager::isMatch(int value, int excp, const QString& context) {
 	if (match) {
 		QString info("Caught exception \'" + descriptions[excp] +
 		             "\' while in " + context);
-		qDebug(info.toLatin1().constData());
+		qDebug("%s", info.toLatin1().constData());
 	}
 	return match;
 }
