mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-08 10:31:50 -05:00
qt: Use |
instead of +
for key modifiers
This change is preparation for Qt 6 where `+` has been deprecated, and it fixes an experimental build with Qt 6.2.4.
This commit is contained in:
parent
6f1e162fe1
commit
c7add881a6
1 changed files with 3 additions and 3 deletions
|
@ -356,7 +356,7 @@ void BitcoinGUI::createActions()
|
|||
showHelpMessageAction->setStatusTip(tr("Show the %1 help message to get a list with possible Bitcoin command-line options").arg(PACKAGE_NAME));
|
||||
|
||||
m_mask_values_action = new QAction(tr("&Mask values"), this);
|
||||
m_mask_values_action->setShortcut(QKeySequence(Qt::CTRL + Qt::SHIFT + Qt::Key_M));
|
||||
m_mask_values_action->setShortcut(QKeySequence(Qt::CTRL | Qt::SHIFT | Qt::Key_M));
|
||||
m_mask_values_action->setStatusTip(tr("Mask the values in the Overview tab"));
|
||||
m_mask_values_action->setCheckable(true);
|
||||
|
||||
|
@ -427,8 +427,8 @@ void BitcoinGUI::createActions()
|
|||
}
|
||||
#endif // ENABLE_WALLET
|
||||
|
||||
connect(new QShortcut(QKeySequence(Qt::CTRL + Qt::SHIFT + Qt::Key_C), this), &QShortcut::activated, this, &BitcoinGUI::showDebugWindowActivateConsole);
|
||||
connect(new QShortcut(QKeySequence(Qt::CTRL + Qt::SHIFT + Qt::Key_D), this), &QShortcut::activated, this, &BitcoinGUI::showDebugWindow);
|
||||
connect(new QShortcut(QKeySequence(Qt::CTRL | Qt::SHIFT | Qt::Key_C), this), &QShortcut::activated, this, &BitcoinGUI::showDebugWindowActivateConsole);
|
||||
connect(new QShortcut(QKeySequence(Qt::CTRL | Qt::SHIFT | Qt::Key_D), this), &QShortcut::activated, this, &BitcoinGUI::showDebugWindow);
|
||||
}
|
||||
|
||||
void BitcoinGUI::createMenuBar()
|
||||
|
|
Loading…
Add table
Reference in a new issue