mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
Add qDebug message to scaleWidgetFontSizes
This commit is contained in:
parent
ff1fb07b2d
commit
7dab39a2f1
1 changed files with 2 additions and 0 deletions
|
@ -60,6 +60,8 @@ void UIUtil::scaleWidgetFontSizes(QWidget* widget) {
|
|||
// This would give a final scale of: 0.75 * 2.0 = 1.5
|
||||
fontScale *= (glCanvas->logicalDpiX() / NATIVE_DPI);
|
||||
|
||||
qDebug() << "Scaling widgets by: " << fontScale;
|
||||
|
||||
internalScaleWidgetFontSizes(widget, fontScale);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue