mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-18 20:40:43 +01:00
Set the qtsparkle language on startup
This commit is contained in:
parent
0943b66da2
commit
1fe1a9def3
@ -96,6 +96,10 @@ using boost::scoped_ptr;
|
||||
const QDBusArgument& operator>> (const QDBusArgument& arg, QImage& image);
|
||||
#endif
|
||||
|
||||
#ifdef Q_OS_WIN32
|
||||
# include <qtsparkle/Updater>
|
||||
#endif
|
||||
|
||||
// Load sqlite plugin on windows and mac.
|
||||
#ifdef HAVE_STATIC_SQLITE
|
||||
# include <QtPlugin>
|
||||
@ -381,6 +385,11 @@ int main(int argc, char *argv[]) {
|
||||
LoadTranslation("clementine", a.applicationDirPath(), language);
|
||||
LoadTranslation("clementine", QDir::currentPath(), language);
|
||||
|
||||
#ifdef Q_OS_WIN32
|
||||
// Set the language for qtsparkle
|
||||
qtsparkle::LoadTranslations(language);
|
||||
#endif
|
||||
|
||||
// Icons
|
||||
IconLoader::Init();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user