File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -480,24 +480,16 @@ void BitcoinGUI::createMenuBar()
480
480
connect (qApp, &QApplication::focusWindowChanged, [zoom_action] (QWindow* window) {
481
481
zoom_action->setEnabled (window != nullptr );
482
482
});
483
- #else
484
- QAction* restore_action = window_menu->addAction (tr (" Restore" ));
485
- connect (restore_action, &QAction::triggered, [] {
486
- qApp->focusWindow ()->showNormal ();
487
- });
488
-
489
- connect (qApp, &QApplication::focusWindowChanged, [restore_action] (QWindow* window) {
490
- restore_action->setEnabled (window != nullptr );
491
- });
492
483
#endif
493
484
494
485
if (walletFrame) {
486
+ #ifdef Q_OS_MAC
495
487
window_menu->addSeparator ();
496
488
QAction* main_window_action = window_menu->addAction (tr (" Main Window" ));
497
489
connect (main_window_action, &QAction::triggered, [this ] {
498
490
GUIUtil::bringToFront (this );
499
491
});
500
-
492
+ # endif
501
493
window_menu->addSeparator ();
502
494
window_menu->addAction (usedSendingAddressesAction);
503
495
window_menu->addAction (usedReceivingAddressesAction);
You can’t perform that action at this time.
0 commit comments