Move Windows font overrides away from translations

Determine which font to use with a dedicated function instead
This commit is contained in:
Alexander Babikov
2024-03-20 16:48:09 +05:00
parent 8e06b5449f
commit ae7d4454cb
27 changed files with 24 additions and 144 deletions

View File

@@ -16,6 +16,9 @@ public:
~ProgSettings();
static QString getIconSetPath();
static QIcon loadIcon(QString file);
#ifdef Q_OS_WINDOWS
static QString getFontName(uint32_t lcid);
#endif
static void loadTranslators(QObject *parent = nullptr);
static void reloadStrings();
class CustomTranslator : public QTranslator {