|
1 | 1 | // Copyright (c) 2011-2014 The Bitcoin developers
|
2 | 2 | // Copyright (c) 2014-2015 The Dash developers
|
3 |
| -// Copyright (c) 2015-2017 The PIVX developers// Copyright (c) 2017-2019 The Adeptio developers |
| 3 | +// Copyright (c) 2015-2017 The PIVX developers |
| 4 | +// Copyright (c) 2017-2019 The Adeptio developers |
4 | 5 | // Distributed under the MIT/X11 software license, see the accompanying
|
5 | 6 | // file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
6 | 7 |
|
@@ -93,7 +94,7 @@ BitcoinGUI::BitcoinGUI(const NetworkStyle* networkStyle, QWidget* parent) : QMai
|
93 | 94 | multisigSignAction(0),
|
94 | 95 | aboutAction(0),
|
95 | 96 | receiveCoinsAction(0),
|
96 |
| - privacyAction(0), |
| 97 | + //privacyAction(0), |
97 | 98 | optionsAction(0),
|
98 | 99 | toggleHideAction(0),
|
99 | 100 | encryptWalletAction(0),
|
@@ -360,7 +361,7 @@ void BitcoinGUI::createActions(const NetworkStyle* networkStyle)
|
360 | 361 | #else
|
361 | 362 | privacyAction->setShortcut(QKeySequence(Qt::ALT + Qt::Key_5));
|
362 | 363 | #endif
|
363 |
| - tabGroup->addAction(privacyAction); |
| 364 | + //tabGroup->addAction(privacyAction); |
364 | 365 |
|
365 | 366 | #ifdef ENABLE_WALLET
|
366 | 367 |
|
@@ -388,8 +389,8 @@ void BitcoinGUI::createActions(const NetworkStyle* networkStyle)
|
388 | 389 | connect(sendCoinsAction, SIGNAL(triggered()), this, SLOT(gotoSendCoinsPage()));
|
389 | 390 | connect(receiveCoinsAction, SIGNAL(triggered()), this, SLOT(showNormalIfMinimized()));
|
390 | 391 | connect(receiveCoinsAction, SIGNAL(triggered()), this, SLOT(gotoReceiveCoinsPage()));
|
391 |
| - connect(privacyAction, SIGNAL(triggered()), this, SLOT(showNormalIfMinimized())); |
392 |
| - connect(privacyAction, SIGNAL(triggered()), this, SLOT(gotoPrivacyPage())); |
| 392 | + //connect(privacyAction, SIGNAL(triggered()), this, SLOT(showNormalIfMinimized())); |
| 393 | + //connect(privacyAction, SIGNAL(triggered()), this, SLOT(gotoPrivacyPage())); |
393 | 394 | connect(historyAction, SIGNAL(triggered()), this, SLOT(showNormalIfMinimized()));
|
394 | 395 | connect(historyAction, SIGNAL(triggered()), this, SLOT(gotoHistoryPage()));
|
395 | 396 | #endif // ENABLE_WALLET
|
@@ -574,9 +575,9 @@ void BitcoinGUI::createToolBars()
|
574 | 575 | toolbar->addAction(overviewAction);
|
575 | 576 | toolbar->addAction(sendCoinsAction);
|
576 | 577 | toolbar->addAction(receiveCoinsAction);
|
577 |
| - toolbar->addAction(privacyAction); |
| 578 | + //toolbar->addAction(privacyAction); |
578 | 579 | toolbar->addAction(historyAction);
|
579 |
| - toolbar->addAction(privacyAction); |
| 580 | + //toolbar->addAction(privacyAction); |
580 | 581 | QSettings settings;
|
581 | 582 | if (settings.value("fShowMasternodesTab").toBool()) {
|
582 | 583 | toolbar->addAction(masternodeAction);
|
@@ -679,7 +680,7 @@ void BitcoinGUI::setWalletActionsEnabled(bool enabled)
|
679 | 680 | overviewAction->setEnabled(enabled);
|
680 | 681 | sendCoinsAction->setEnabled(enabled);
|
681 | 682 | receiveCoinsAction->setEnabled(enabled);
|
682 |
| - privacyAction->setEnabled(enabled); |
| 683 | + //privacyAction->setEnabled(enabled); |
683 | 684 | historyAction->setEnabled(enabled);
|
684 | 685 | QSettings settings;
|
685 | 686 | if (settings.value("fShowMasternodesTab").toBool()) {
|
@@ -736,7 +737,7 @@ void BitcoinGUI::createTrayIconMenu()
|
736 | 737 | trayIconMenu->addSeparator();
|
737 | 738 | trayIconMenu->addAction(sendCoinsAction);
|
738 | 739 | trayIconMenu->addAction(receiveCoinsAction);
|
739 |
| - trayIconMenu->addAction(privacyAction); |
| 740 | + //trayIconMenu->addAction(privacyAction); |
740 | 741 | trayIconMenu->addSeparator();
|
741 | 742 | trayIconMenu->addAction(signMessageAction);
|
742 | 743 | trayIconMenu->addAction(verifyMessageAction);
|
|
0 commit comments