|
|
|
@ -273,8 +273,7 @@ void BitcoinGUI::createActions()
|
|
|
|
|
optionsAction = new QAction(QIcon(":/icons/options"), tr("&Options..."), this);
|
|
|
|
|
optionsAction->setToolTip(tr("Modify configuration options for Bitcoin"));
|
|
|
|
|
optionsAction->setMenuRole(QAction::PreferencesRole);
|
|
|
|
|
toggleHideAction = new QAction(QIcon(":/icons/bitcoin"), tr("Show/Hide &Bitcoin"), this);
|
|
|
|
|
toggleHideAction->setToolTip(tr("Show or hide the Bitcoin window"));
|
|
|
|
|
toggleHideAction = new QAction(QIcon(":/icons/bitcoin"), tr("&Show / Hide"), this);
|
|
|
|
|
exportAction = new QAction(QIcon(":/icons/export"), tr("&Export..."), this);
|
|
|
|
|
exportAction->setToolTip(tr("Export the data in the current tab to a file"));
|
|
|
|
|
encryptWalletAction = new QAction(QIcon(":/icons/lock_closed"), tr("&Encrypt Wallet..."), this);
|
|
|
|
@ -463,7 +462,7 @@ void BitcoinGUI::trayIconActivated(QSystemTrayIcon::ActivationReason reason)
|
|
|
|
|
{
|
|
|
|
|
if(reason == QSystemTrayIcon::Trigger)
|
|
|
|
|
{
|
|
|
|
|
// Click on system tray icon triggers "show/hide Bitcoin"
|
|
|
|
|
// Click on system tray icon triggers show/hide of the main window
|
|
|
|
|
toggleHideAction->trigger();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|