|
|
@ -376,7 +376,7 @@ void BitcoinGUI::createTrayIcon() |
|
|
|
trayIcon = new QSystemTrayIcon(this); |
|
|
|
trayIcon = new QSystemTrayIcon(this); |
|
|
|
trayIconMenu = new QMenu(this); |
|
|
|
trayIconMenu = new QMenu(this); |
|
|
|
trayIcon->setContextMenu(trayIconMenu); |
|
|
|
trayIcon->setContextMenu(trayIconMenu); |
|
|
|
trayIcon->setToolTip("Bitcoin client"); |
|
|
|
trayIcon->setToolTip(tr("Bitcoin client")); |
|
|
|
trayIcon->setIcon(QIcon(":/icons/toolbar")); |
|
|
|
trayIcon->setIcon(QIcon(":/icons/toolbar")); |
|
|
|
connect(trayIcon, SIGNAL(activated(QSystemTrayIcon::ActivationReason)), |
|
|
|
connect(trayIcon, SIGNAL(activated(QSystemTrayIcon::ActivationReason)), |
|
|
|
this, SLOT(trayIconActivated(QSystemTrayIcon::ActivationReason))); |
|
|
|
this, SLOT(trayIconActivated(QSystemTrayIcon::ActivationReason))); |
|
|
|