mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 21:12:48 +01:00
parent
61774f82b3
commit
b8edf6c0d8
@ -331,6 +331,13 @@ void RPCConsole::clear()
|
|||||||
tr("Type <b>help</b> for an overview of available commands.")), true);
|
tr("Type <b>help</b> for an overview of available commands.")), true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void RPCConsole::reject()
|
||||||
|
{
|
||||||
|
// Ignore escape keypress if this is not a seperate window
|
||||||
|
if(windowType() != Qt::Widget)
|
||||||
|
QDialog::reject();
|
||||||
|
}
|
||||||
|
|
||||||
void RPCConsole::message(int category, const QString &message, bool html)
|
void RPCConsole::message(int category, const QString &message, bool html)
|
||||||
{
|
{
|
||||||
QTime time = QTime::currentTime();
|
QTime time = QTime::currentTime();
|
||||||
|
@ -47,6 +47,7 @@ private slots:
|
|||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
void clear();
|
void clear();
|
||||||
|
void reject();
|
||||||
void message(int category, const QString &message, bool html = false);
|
void message(int category, const QString &message, bool html = false);
|
||||||
/** Set number of connections shown in the UI */
|
/** Set number of connections shown in the UI */
|
||||||
void setNumConnections(int count);
|
void setNumConnections(int count);
|
||||||
|
Loading…
Reference in New Issue
Block a user