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:
parent
44aec35996
commit
636a4507cc
2 changed files with 1 additions and 1 deletions
|
@ -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)));
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue