mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-06 12:33:44 +02:00
Text point size readjustment not needed on child windows in Windows?
This commit is contained in:
parent
a8c12369fd
commit
83a0d988ec
1 changed files with 2 additions and 0 deletions
|
@ -42,12 +42,14 @@ AboutWindow::AboutWindow(QWidget *parent) :
|
||||||
ui->aboutTextLabel->setText(QString("ZeroTier One\nVersion ")+ZeroTier::Node::versionString()+"\nDesktop Graphical User Interface\n\n(c)2011-2014 ZeroTier Networks LLC\n\nReleased under the terms of the GNU\nGeneral Public License v3.0, see: http://gplv3.fsf.org for terms.\n\nAuthor(s): Adam Ierymenko");
|
ui->aboutTextLabel->setText(QString("ZeroTier One\nVersion ")+ZeroTier::Node::versionString()+"\nDesktop Graphical User Interface\n\n(c)2011-2014 ZeroTier Networks LLC\n\nReleased under the terms of the GNU\nGeneral Public License v3.0, see: http://gplv3.fsf.org for terms.\n\nAuthor(s): Adam Ierymenko");
|
||||||
|
|
||||||
#ifdef __WINDOWS__
|
#ifdef __WINDOWS__
|
||||||
|
/*
|
||||||
QWidgetList widgets = this->findChildren<QWidget*>();
|
QWidgetList widgets = this->findChildren<QWidget*>();
|
||||||
foreach(QWidget *widget, widgets) {
|
foreach(QWidget *widget, widgets) {
|
||||||
QFont font(widget->font());
|
QFont font(widget->font());
|
||||||
font.setPointSizeF(font.pointSizeF() * 0.75);
|
font.setPointSizeF(font.pointSizeF() * 0.75);
|
||||||
widget->setFont(font);
|
widget->setFont(font);
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
this->raise();
|
this->raise();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue