Actually, just set the tooltip to the icon

The tooltip within the menus behaved weird, and didn't add any info.
This commit is contained in:
Albert Vaca 2017-02-28 22:08:09 +01:00
parent 44aec35996
commit 636a4507cc
2 changed files with 1 additions and 1 deletions

View file

@ -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)));

View file

@ -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;