[Qt] minor optimisations in peertablemodel

- remove an unneeded include of net.h in peertablemodel.cpp
- add const after size() in PeerTablePriv
- remove 2x unneeded else in functions
- replace a (int) typecast by (QVariant) to use Qt style
- remove unneeded include of peertablemodel.h from rpcconsole.cpp
This commit is contained in:
Philip Kaufmann
2015-06-21 13:07:08 +02:00
parent c0f66ce44a
commit 92684bb872
2 changed files with 6 additions and 14 deletions

View File

@@ -7,7 +7,6 @@
#include "clientmodel.h"
#include "guiutil.h"
#include "peertablemodel.h"
#include "platformstyle.h"
#include "chainparams.h"