Files

17 lines
504 B
C++
Raw Permalink Normal View History

2016-10-01 01:05:14 +00:00
--- src/PreferencesDialog.cpp.orig 2016-08-24 11:00:01 UTC
+++ src/PreferencesDialog.cpp
2016-10-01 01:05:14 +00:00
@@ -465,8 +465,13 @@ void PreferencesDialog::removeExtension(
2015-05-11 13:00:52 +00:00
2015-02-06 13:29:25 +00:00
void PreferencesDialog::fillLanguageBox()
{
+#ifdef Q_OS_FREEBSD
+ QDir translationsDir("%%DATADIR%%/translations",
2016-10-01 01:05:14 +00:00
+ "sqlb_*.qm");
2015-05-11 13:00:52 +00:00
+#else
2016-10-01 01:05:14 +00:00
QDir translationsDir(QCoreApplication::applicationDirPath() + "/translations",
"sqlb_*.qm");
2015-02-06 13:29:25 +00:00
+#endif
2015-05-11 13:00:52 +00:00
QLocale systemLocale = QLocale::system();
2015-02-06 13:29:25 +00:00