From 36c29512d571236e6c112bf633365221323e9086 Mon Sep 17 00:00:00 2001 From: Méven Car Date: Sat, 18 Oct 2025 12:35:49 +0200 Subject: PreviewSettings: add a tooltip showing the filename of plugins So users can identify them and distinguish them when two plugins provide the same mimetype support or help figure out devs where the plugins are loaded from. --- src/settings/servicemodel.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/settings/servicemodel.h') diff --git a/src/settings/servicemodel.h b/src/settings/servicemodel.h index 0abe1fe46..956ddb2bc 100644 --- a/src/settings/servicemodel.h +++ b/src/settings/servicemodel.h @@ -17,6 +17,7 @@ * - Qt::DisplayRole: Name of the service * - Qt::DecorationRole: Icon name of the service * - Qt::CheckStateRole: Specifies whether the service is enabled + * - Qt::Tooltip: a tooltip * - ServiceModel::DesktopEntryNameRole: Name of the desktop-entry of the service * - ServiceModel::Configurable: Specifies whether the service is configurable by the user */ @@ -43,6 +44,7 @@ private: QString icon; QString text; QString desktopEntryName; + QString tooltip; }; QList m_items; -- cgit v1.3.1