summaryrefslogtreecommitdiff
path: root/databases/sqlitebrowser/files/patch-src-PreferencesDialog.cpp
diff options
context:
space:
mode:
authorGuido Falsi <madpilot@FreeBSD.org>2015-02-06 13:29:25 +0000
committerGuido Falsi <madpilot@FreeBSD.org>2015-02-06 13:29:25 +0000
commitce6563685eed5858eabd873a01830d0e360fc5ff (patch)
tree21f36514d13fe48b16c9cad0a8f7d27740febc85 /databases/sqlitebrowser/files/patch-src-PreferencesDialog.cpp
parentdevel/radare2: Upgrade version 0.9.6 => 0.9.8, reset maintainership (diff)
Update to 3.5.0.
PR: 197253 Submitted by: coder@tuxfamily.org (maintainer)
Notes
Notes: svn path=/head/; revision=378535
Diffstat (limited to '')
-rw-r--r--databases/sqlitebrowser/files/patch-src-PreferencesDialog.cpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/databases/sqlitebrowser/files/patch-src-PreferencesDialog.cpp b/databases/sqlitebrowser/files/patch-src-PreferencesDialog.cpp
new file mode 100644
index 000000000000..c88f834ada60
--- /dev/null
+++ b/databases/sqlitebrowser/files/patch-src-PreferencesDialog.cpp
@@ -0,0 +1,17 @@
+--- src/PreferencesDialog.cpp.orig 2015-02-01 15:27:53.407669984 +0100
++++ src/PreferencesDialog.cpp 2015-02-01 15:30:51.885904399 +0100
+@@ -266,9 +266,13 @@
+ void PreferencesDialog::fillLanguageBox()
+ {
+ // Use the path relative to the main executable
++#ifdef Q_OS_FREEBSD
++ QDir translationsDir("%%DATADIR%%/translations",
++ "sqlb_*.qm");
++#else
+ QDir translationsDir(QCoreApplication::applicationDirPath() + "/translations",
+ "sqlb_*.qm");
+-
++#endif
+ // Add default language
+ ui->languageComboBox->addItem("English (United States)", "en_US");
+