Fix a Bug in updateUI(), everytime calling this method will set fonts to
system default display font and delete custom font settings, have to set
custom fonts again here.
This commit is contained in:
2020-10-23 15:15:53 +08:00
parent c529367998
commit 7b46cca1d4
4 changed files with 25 additions and 2 deletions

View File

@@ -13,6 +13,9 @@
#include <QFutureWatcher>
#include <QToolButton>
#include <QTimer>
#include <QFontDatabase>
#include <DSettings>
#include <DBlurEffectWidget>
#include <DSpinner>
@@ -104,7 +107,7 @@ public:
QString appweb;
bool themeIsDark;
QFont font;
private:
void initUI();