diff --git a/src/frontends/qt4/GuiDocument.h b/src/frontends/qt4/GuiDocument.h index 38f099a1ab..e202bd95e0 100644 --- a/src/frontends/qt4/GuiDocument.h +++ b/src/frontends/qt4/GuiDocument.h @@ -357,7 +357,8 @@ class FontModule : public UiWidget { Q_OBJECT public: - FontModule(QWidget * parent) : UiWidget(parent) {} + FontModule(QWidget * parent) : UiWidget(parent), + font_sf_scale(100), font_tt_scale(100) {} /// The roman font currently not selected by osFontsCB->isChecked() QString font_roman; /// The sans font currently not selected by osFontsCB->isChecked()