aboutsummaryrefslogtreecommitdiff
path: root/libqmenumodel
diff options
context:
space:
mode:
authorDalton Durst <dalton@ubports.com>2021-12-23 16:28:37 -0600
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2022-02-01 07:56:48 +0100
commitfbb94cd8e14c1e8f4342249fb414b466eb60186f (patch)
tree39bb443a2a088ddb76222719afb309cc4278a2d3 /libqmenumodel
parent0333149b68b2d1ea164a96a2b43cfdd3f8f9c945 (diff)
downloadqmenumodel-fbb94cd8e14c1e8f4342249fb414b466eb60186f.tar.gz
qmenumodel-fbb94cd8e14c1e8f4342249fb414b466eb60186f.tar.bz2
qmenumodel-fbb94cd8e14c1e8f4342249fb414b466eb60186f.zip
Fix build warning regarding qchar
The warning was: format ‘%s’ expects argument of type ‘char*’, but argument 5 has type ‘const QChar*’
Diffstat (limited to 'libqmenumodel')
-rw-r--r--libqmenumodel/src/ayatanamenumodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libqmenumodel/src/ayatanamenumodel.cpp b/libqmenumodel/src/ayatanamenumodel.cpp
index f535e5c..2c735e6 100644
--- a/libqmenumodel/src/ayatanamenumodel.cpp
+++ b/libqmenumodel/src/ayatanamenumodel.cpp
@@ -682,7 +682,7 @@ bool AyatanaMenuModel::loadExtendedAttributes(int position, const QVariantMap &s
extendedAttrs->insert(qtify_name (name.toUtf8()), qvalue);
else
qCWarning(ayatanamenumodel, "loadExtendedAttributes: key '%s' is of type '%s' (expected '%s')",
- name.toUtf8().constData(), g_variant_get_type_string(value), type.constData());
+ name.toUtf8().constData(), g_variant_get_type_string(value), type.toUtf8().constData());
g_variant_unref (value);
}