This commit is contained in:
Lukas Brübach 2025-01-17 11:42:33 +01:00
parent 710f7b0f07
commit 06d252e23a
12 changed files with 28 additions and 23 deletions

View file

@ -8,7 +8,7 @@
inline Q_LOGGING_CATEGORY(DlgEditAvatarLog, "dlg_edit_avatar.debug")
class QLabel;
class QLabel;
class QPushButton;
class QCheckBox;

View file

@ -198,7 +198,8 @@ QString GeneralSettingsPage::languageName(const QString &lang)
QString appNameHint = translationPrefix + "_" + lang;
bool appTranslationLoaded = qTranslator.load(appNameHint, translationPath);
if (!appTranslationLoaded) {
qCDebug(DlgSettingsLog) << "Unable to load" << translationPrefix << "translation" << appNameHint << "at" << translationPath;
qCDebug(DlgSettingsLog) << "Unable to load" << translationPrefix << "translation" << appNameHint << "at"
<< translationPath;
}
return qTranslator.translate("i18n", DEFAULT_LANG_NAME);

View file

@ -5,8 +5,8 @@
#include <QDialog>
#include <QDialogButtonBox>
#include <QHBoxLayout>
#include <QLoggingCategory>
#include <QLineEdit>
#include <QLoggingCategory>
#include <QPushButton>
#include <QVBoxLayout>