mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-18 23:28:23 +00:00
UI stuff and sign .dmg on build.
This commit is contained in:
@ -53,8 +53,8 @@ NetworkWidget::NetworkWidget(QWidget *parent,const std::string &nwid) :
|
||||
|
||||
QFontMetrics fm(ui->ipListWidget->font());
|
||||
int lineHeight = ui->ipListWidget->spacing() + fm.height();
|
||||
ui->ipListWidget->setMinimumHeight(lineHeight * 4);
|
||||
ui->ipListWidget->setMaximumHeight(lineHeight * 4);
|
||||
ui->ipListWidget->setMinimumHeight(lineHeight * 6);
|
||||
ui->ipListWidget->setMaximumHeight(lineHeight * 6);
|
||||
|
||||
#ifdef __APPLE__
|
||||
QWidgetList widgets = this->findChildren<QWidget*>();
|
||||
@ -145,6 +145,11 @@ void NetworkWidget::setIps(const std::string &commaSeparatedList)
|
||||
}
|
||||
}
|
||||
|
||||
void NetworkWidget::setMAC(const std::string &mac)
|
||||
{
|
||||
ui->macLabel->setText(QString(mac.c_str()));
|
||||
}
|
||||
|
||||
const std::string &NetworkWidget::networkId()
|
||||
{
|
||||
return networkIdStr;
|
||||
|
Reference in New Issue
Block a user