Make GUI work with new control client API, make control client look for user authtoken.secret if system unreadable.
This commit is contained in:
parent
81e5690410
commit
f0223490be
9 changed files with 184 additions and 231 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue