Skip to content

Commit

Permalink
qml: commented out "fullClientVersion" so it works with options_model
Browse files Browse the repository at this point in the history
  • Loading branch information
D33r-Gee committed Jun 17, 2024
1 parent b7b441c commit 30c9a92
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/qml/models/nodemodel.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

#include <interfaces/handler.h>
#include <interfaces/node.h>
#include <clientversion.h>
// #include <clientversion.h>

#include <memory>

Expand All @@ -27,7 +27,7 @@ class NodeModel : public QObject
{
Q_OBJECT
Q_PROPERTY(int blockTipHeight READ blockTipHeight NOTIFY blockTipHeightChanged)
Q_PROPERTY(QString fullClientVersion READ fullClientVersion CONSTANT)
// Q_PROPERTY(QString fullClientVersion READ fullClientVersion CONSTANT)
Q_PROPERTY(int numOutboundPeers READ numOutboundPeers NOTIFY numOutboundPeersChanged)
Q_PROPERTY(int maxNumOutboundPeers READ maxNumOutboundPeers CONSTANT)
Q_PROPERTY(int remainingSyncTime READ remainingSyncTime NOTIFY remainingSyncTimeChanged)
Expand All @@ -39,7 +39,7 @@ class NodeModel : public QObject

int blockTipHeight() const { return m_block_tip_height; }
void setBlockTipHeight(int new_height);
QString fullClientVersion() const { return QString::fromStdString(FormatFullVersion()); }
// QString fullClientVersion() const { return QString::fromStdString(FormatFullVersion()); }
int numOutboundPeers() const { return m_num_outbound_peers; }
void setNumOutboundPeers(int new_num);
int maxNumOutboundPeers() const { return m_max_num_outbound_peers; }
Expand Down

0 comments on commit 30c9a92

Please sign in to comment.