+ // Fonts
+ QtUiStyleSettings fontSettings("Fonts");
+ if(ui.demoInputLine->font() != QApplication::font())
+ fontSettings.setValue("InputLine", ui.demoInputLine->font());
+ else
+ fontSettings.setValue("InputLine", "");
+
+ if(ui.demoBufferView->font() != QApplication::font())
+ fontSettings.setValue("BufferView", ui.demoBufferView->font());
+ else
+ fontSettings.setValue("BufferView", "");
+
+ //QTextCharFormat chatFormat = QtUi::style()->format(UiStyle::None);
+ //chatFormat.setFont(ui.demoChatView->font());
+ //QtUi::style()->setFormat(UiStyle::None, chatFormat, Settings::Custom);
+
+ _fontsChanged = false;
+
+ SettingsPage::save();