From be8929265f0aa10c071e3efbfd20bfb4754ca543 Mon Sep 17 00:00:00 2001 From: Jonas Schnelli Date: Fri, 3 Jul 2015 08:55:22 +0200 Subject: [Qt] reenabling hotkeys for ban context menu, use different words - 1 (h)our - 1 (d)ay - 1 (w)eek - 1 (y)ear --- src/qt/rpcconsole.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/qt/rpcconsole.cpp b/src/qt/rpcconsole.cpp index b224d89183..ae89ccf121 100644 --- a/src/qt/rpcconsole.cpp +++ b/src/qt/rpcconsole.cpp @@ -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(); -- cgit v1.2.3