Complete phases 6 and 7: Notifications & System Tray, Background Sync & Scheduling
This commit is contained in:
@@ -15,7 +15,7 @@ bool Translator::loadLanguage(const QString& langCode)
|
||||
QMutexLocker locker(&m_mutex);
|
||||
m_translations.clear();
|
||||
|
||||
QString filePath = QStringLiteral("resources/translations/%1/resources.json").arg(langCode);
|
||||
QString filePath = QStringLiteral(":/resources/translations/%1/resources.json").arg(langCode);
|
||||
QFile file(filePath);
|
||||
if (!file.open(QIODevice::ReadOnly | QIODevice::Text)) {
|
||||
qWarning() << "Failed to open translation file:" << filePath;
|
||||
|
||||
Reference in New Issue
Block a user