Browse Source

[Qt] reenabling hotkeys for ban context menu, use different words

- 1 (h)our
- 1 (d)ay
- 1 (w)eek
- 1 (y)ear
pull/1/head
Jonas Schnelli 7 years ago
parent
commit
be8929265f
  1. 8
      src/qt/rpcconsole.cpp

8
src/qt/rpcconsole.cpp

@ -356,10 +356,10 @@ void RPCConsole::setClientModel(ClientModel *model) @@ -356,10 +356,10 @@ void RPCConsole::setClientModel(ClientModel *model)
// create peer table context menu actions
QAction* disconnectAction = new QAction(tr("&Disconnect Node"), this);
QAction* banAction1h = new QAction(tr("Ban Node for") + " " + tr("1 hour"), this);
QAction* banAction24h = new QAction(tr("Ban Node for") + " " + tr("24 hours"), this);
QAction* banAction7d = new QAction(tr("Ban Node for") + " " + tr("7 days"), this);
QAction* banAction365d = new QAction(tr("Ban Node for") + " " + tr("1 year"), this);
QAction* banAction1h = new QAction(tr("Ban Node for") + " " + tr("1 &hour"), this);
QAction* banAction24h = new QAction(tr("Ban Node for") + " " + tr("1 &day"), this);
QAction* banAction7d = new QAction(tr("Ban Node for") + " " + tr("1 &week"), this);
QAction* banAction365d = new QAction(tr("Ban Node for") + " " + tr("1 &year"), this);
// create peer table context menu
peersTableContextMenu = new QMenu();

Loading…
Cancel
Save