summaryrefslogtreecommitdiff
path: root/ZeroTierUI/networkwidget.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2014-04-02 17:12:04 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2014-04-02 17:12:04 -0700
commitf0223490becc9bba82297cd6316c87d2f89f2052 (patch)
treec8ceec0a71c3953377c463a6a2844c4c96622560 /ZeroTierUI/networkwidget.cpp
parent81e56904104c45beb17e574eb1691a864cd91bb2 (diff)
downloadinfinitytier-f0223490becc9bba82297cd6316c87d2f89f2052.tar.gz
infinitytier-f0223490becc9bba82297cd6316c87d2f89f2052.zip
Make GUI work with new control client API, make control client look for user authtoken.secret if system unreadable.
Diffstat (limited to 'ZeroTierUI/networkwidget.cpp')
-rw-r--r--ZeroTierUI/networkwidget.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/ZeroTierUI/networkwidget.cpp b/ZeroTierUI/networkwidget.cpp
index 1032da1b..c667777b 100644
--- a/ZeroTierUI/networkwidget.cpp
+++ b/ZeroTierUI/networkwidget.cpp
@@ -80,9 +80,6 @@ NetworkWidget::~NetworkWidget()
void NetworkWidget::setStatus(const std::string &status,const std::string &age)
{
ui->statusLabel->setText(QString(status.c_str()));
- if (status == "OK")
- ui->ageLabel->setText(QString("[") + age.c_str() + "s ago]");
- else ui->ageLabel->setText(QString());
}
void NetworkWidget::setNetworkName(const std::string &name)