Browse Source

remove unneded class CNodeCombinedStats; from rpcconsole.cpp

- also 2 small style fixes
0.10
Philip Kaufmann 11 years ago
parent
commit
b612bde521
  1. 3
      src/qt/rpcconsole.cpp
  2. 1
      src/qt/rpcconsole.h

3
src/qt/rpcconsole.cpp

@ -231,6 +231,7 @@ RPCConsole::RPCConsole(QWidget *parent) :
startExecutor(); startExecutor();
setTrafficGraphRange(INITIAL_TRAFFIC_GRAPH_MINS); setTrafficGraphRange(INITIAL_TRAFFIC_GRAPH_MINS);
ui->detailWidget->hide(); ui->detailWidget->hide();
clear(); clear();
@ -581,7 +582,7 @@ void RPCConsole::peerLayoutChanged()
if (fUnselect && selectedRow >= 0) if (fUnselect && selectedRow >= 0)
{ {
ui->peerWidget->selectionModel()->select(QItemSelection(selectedModelIndex.first(), selectedModelIndex.last()), ui->peerWidget->selectionModel()->select(QItemSelection(selectedModelIndex.first(), selectedModelIndex.last()),
QItemSelectionModel::Deselect); QItemSelectionModel::Deselect);
} }
if (fReselect) if (fReselect)

1
src/qt/rpcconsole.h

@ -13,7 +13,6 @@
#include <QDialog> #include <QDialog>
class ClientModel; class ClientModel;
class CNodeCombinedStats;
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
class QItemSelection; class QItemSelection;

Loading…
Cancel
Save