From 636a4507cc2cb8395fe76438d99b0d37fc768c2a Mon Sep 17 00:00:00 2001 From: Albert Vaca Date: Tue, 28 Feb 2017 22:08:09 +0100 Subject: [PATCH] Actually, just set the tooltip to the icon The tooltip within the menus behaved weird, and didn't add any info. --- indicator/deviceindicator.cpp | 1 - indicator/main.cpp | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/indicator/deviceindicator.cpp b/indicator/deviceindicator.cpp index 8f172eb81..eb3e09793 100644 --- a/indicator/deviceindicator.cpp +++ b/indicator/deviceindicator.cpp @@ -64,7 +64,6 @@ DeviceIndicator::DeviceIndicator(DeviceDbusInterface* device) , m_device(device) { setIcon(QIcon::fromTheme(device->iconName())); - setToolTip(device->name()); connect(device, SIGNAL(nameChanged(QString)), this, SLOT(setText(QString))); diff --git a/indicator/main.cpp b/indicator/main.cpp index 8a4f4c201..da4a15017 100644 --- a/indicator/main.cpp +++ b/indicator/main.cpp @@ -52,6 +52,7 @@ int main(int argc, char** argv) QSystemTrayIcon systray; systray.setIcon(QIcon::fromTheme("kdeconnect")); systray.setVisible(true); + systray.setToolTip("KDE Connect"); QMenu *menu = new QMenu;