diff options
| author | LostDragonist <lost.dragonist@gmail.com> | 2020-01-01 21:38:18 -0700 |
|---|---|---|
| committer | LostDragonist <lost.dragonist@gmail.com> | 2020-01-01 21:38:18 -0700 |
| commit | 19a20159a5c8ad72f6978331b268ee75a1cad94b (patch) | |
| tree | 95d8bd73e3a23929fe05b1be8efe369c2d6abd70 /src/mainwindow.cpp | |
| parent | 4d6cee82f42b5a4ff41c1360fbbbf90077c3b867 (diff) | |
Fix the API counter not being translated
Diffstat (limited to 'src/mainwindow.cpp')
| -rw-r--r-- | src/mainwindow.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 284c33e3..5da42b93 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -232,6 +232,7 @@ MainWindow::MainWindow(Settings &settings QWebEngineProfile::defaultProfile()->setPersistentStoragePath(settings.paths().cache()); ui->setupUi(this); + languageChange(settings.interface().language()); ui->statusBar->setup(ui, settings); { @@ -259,8 +260,6 @@ MainWindow::MainWindow(Settings &settings ui->statusBar->setAPI(ni->getAPIStats(), ni->getAPIUserAccount()); } - languageChange(settings.interface().language()); - m_CategoryFactory.loadCategories(); m_Filters.reset(new FilterList(ui, m_CategoryFactory)); |
