diff options
| author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2026-06-11 21:04:06 +0200 |
|---|---|---|
| committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2026-06-11 21:04:06 +0200 |
| commit | d20734dcb6fcc6c5204dcd0b2154c8dea5457e05 (patch) | |
| tree | de2e2e3c72d2e3a0919b3bfba65a51d39b1b86c4 /libqmenumodel/src/ayatanamenumodel.cpp | |
| parent | f33cda5c57dab104163fe6884e2e15f3bac79c07 (diff) | |
| parent | 5f421ccac8c37c7ef20d0eb2d1a7d06bbe574088 (diff) | |
| download | qmenumodel-d20734dcb6fcc6c5204dcd0b2154c8dea5457e05.tar.gz qmenumodel-d20734dcb6fcc6c5204dcd0b2154c8dea5457e05.tar.bz2 qmenumodel-d20734dcb6fcc6c5204dcd0b2154c8dea5457e05.zip | |
Merge branch 'OPNA2608-port-qt6'
Attributes GH PR #29: https://github.com/AyatanaIndicators/qmenumodel/pull/29
Diffstat (limited to 'libqmenumodel/src/ayatanamenumodel.cpp')
| -rw-r--r-- | libqmenumodel/src/ayatanamenumodel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libqmenumodel/src/ayatanamenumodel.cpp b/libqmenumodel/src/ayatanamenumodel.cpp index 9ab0ff4..093beaa 100644 --- a/libqmenumodel/src/ayatanamenumodel.cpp +++ b/libqmenumodel/src/ayatanamenumodel.cpp @@ -463,7 +463,7 @@ QVariant AyatanaMenuModel::data(const QModelIndex &index, int role) const ret = gtk_menu_tracker_item_get_attribute (item, "x-canonical-type", "s", &type); if (ret) { - QVariant v(type); + QString v(type); g_free (type); return v; } @@ -658,7 +658,7 @@ static QString qtify_name(const char *name) if (*name == '-') { next_cap = true; } else if (next_cap) { - result.append(toupper(*name)); + result.append(QChar (toupper(*name))); next_cap = false; } else { result.append(*name); |
