Text point size readjustment not needed on child windows in Windows?

This commit is contained in:
Adam Ierymenko 2014-04-09 12:19:46 -07:00
parent a8c12369fd
commit 83a0d988ec

View File

@ -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");
#ifdef __WINDOWS__
/*
QWidgetList widgets = this->findChildren<QWidget*>();
foreach(QWidget *widget, widgets) {
QFont font(widget->font());
font.setPointSizeF(font.pointSizeF() * 0.75);
widget->setFont(font);
}
*/
this->raise();
#endif
}