Skip to content

Commit f5e0bfa

Browse files
committed
qml: removed "fullClientVersion" from nodemodel.h so it works with options_model
1 parent 22b6a9b commit f5e0bfa

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/qml/models/nodemodel.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
#include <interfaces/handler.h>
99
#include <interfaces/node.h>
10-
#include <clientversion.h>
1110

1211
#include <memory>
1312

@@ -27,7 +26,6 @@ class NodeModel : public QObject
2726
{
2827
Q_OBJECT
2928
Q_PROPERTY(int blockTipHeight READ blockTipHeight NOTIFY blockTipHeightChanged)
30-
Q_PROPERTY(QString fullClientVersion READ fullClientVersion CONSTANT)
3129
Q_PROPERTY(int numOutboundPeers READ numOutboundPeers NOTIFY numOutboundPeersChanged)
3230
Q_PROPERTY(int maxNumOutboundPeers READ maxNumOutboundPeers CONSTANT)
3331
Q_PROPERTY(int remainingSyncTime READ remainingSyncTime NOTIFY remainingSyncTimeChanged)
@@ -39,7 +37,6 @@ class NodeModel : public QObject
3937

4038
int blockTipHeight() const { return m_block_tip_height; }
4139
void setBlockTipHeight(int new_height);
42-
QString fullClientVersion() const { return QString::fromStdString(FormatFullVersion()); }
4340
int numOutboundPeers() const { return m_num_outbound_peers; }
4441
void setNumOutboundPeers(int new_num);
4542
int maxNumOutboundPeers() const { return m_max_num_outbound_peers; }

0 commit comments

Comments
 (0)