diff options
author | Nick Dedekind <nick.dedekind@canonical.com> | 2016-02-23 14:35:57 +0000 |
---|---|---|
committer | Nick Dedekind <nick.dedekind@canonical.com> | 2016-02-23 14:35:57 +0000 |
commit | 4ad605553fa905edb3a78578fa01dba6c2819176 (patch) | |
tree | 37c65353f6a750888584ef876ef7e8a11397f35f /libqmenumodel | |
parent | 2bf63470a4d25af32eb6c39b9c5da2e64a9cdf8f (diff) | |
download | qmenumodel-4ad605553fa905edb3a78578fa01dba6c2819176.tar.gz qmenumodel-4ad605553fa905edb3a78578fa01dba6c2819176.tar.bz2 qmenumodel-4ad605553fa905edb3a78578fa01dba6c2819176.zip |
only log critical
Diffstat (limited to 'libqmenumodel')
-rw-r--r-- | libqmenumodel/src/unitymenumodel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libqmenumodel/src/unitymenumodel.cpp b/libqmenumodel/src/unitymenumodel.cpp index 67fe95d..70412a4 100644 --- a/libqmenumodel/src/unitymenumodel.cpp +++ b/libqmenumodel/src/unitymenumodel.cpp @@ -34,7 +34,7 @@ extern "C" { #include "gtk/gtksimpleactionobserver.h" } -Q_LOGGING_CATEGORY(unitymenumodel, "qmenumodel.unitymenumodel", QtWarningMsg) +Q_LOGGING_CATEGORY(unitymenumodel, "qmenumodel.unitymenumodel", QtCriticalMsg) G_DEFINE_QUARK (UNITY_MENU_MODEL, unity_menu_model) G_DEFINE_QUARK (UNITY_SUBMENU_MODEL, unity_submenu_model) @@ -657,7 +657,7 @@ bool UnityMenuModel::loadExtendedAttributes(int position, const QVariantMap &sch GVariant *value = gtk_menu_tracker_item_get_attribute_value (item, name.toUtf8(), NULL); if (value == NULL) { - qCDebug(unitymenumodel, "loadExtendedAttributes: menu item does not contain '%s'", it.key().toUtf8().constData()); + qCWarning(unitymenumodel, "loadExtendedAttributes: menu item does not contain '%s'", it.key().toUtf8().constData()); continue; } |