From 52047ca6d72957dd36c13e1cd93453a7c48e4b17 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Wed, 15 Mar 2017 17:25:15 +0100 Subject: Fixed warnings --- common/bufferadaptor.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common') diff --git a/common/bufferadaptor.h b/common/bufferadaptor.h index 0ae7bf5..fd4809b 100644 --- a/common/bufferadaptor.h +++ b/common/bufferadaptor.h @@ -39,12 +39,12 @@ public: } virtual QVariant getProperty(const QByteArray &key) const { - qFatal("Tried to get property: " + key); + qFatal("Tried to get property: %s", key.data()); return QVariant(); } virtual void setProperty(const QByteArray &key, const QVariant &value) { - qFatal("Tried to get property: " + key); + qFatal("Tried to get property: %s", key.data()); } virtual QList availableProperties() const { -- cgit v1.2.3