diff options
author | Saturneric <[email protected]> | 2022-03-13 09:48:52 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2022-03-13 09:48:52 +0000 |
commit | 6e44ae09ca1f7022f2a93c542dfcb0dc9d181132 (patch) | |
tree | 617d8bddc4f3a9f1e9a1610301b1151ba9a68a94 /src/ui/help/AboutDialog.cpp | |
parent | <fix>(ui): fix TRANSLATORS file not shown at deb (diff) | |
download | GpgFrontend-6e44ae09ca1f7022f2a93c542dfcb0dc9d181132.tar.gz GpgFrontend-6e44ae09ca1f7022f2a93c542dfcb0dc9d181132.zip |
<fix>(ui): fix macro problem
Diffstat (limited to 'src/ui/help/AboutDialog.cpp')
-rw-r--r-- | src/ui/help/AboutDialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/help/AboutDialog.cpp b/src/ui/help/AboutDialog.cpp index d9be7aec..8b51f6ec 100644 --- a/src/ui/help/AboutDialog.cpp +++ b/src/ui/help/AboutDialog.cpp @@ -114,7 +114,7 @@ TranslatorsTab::TranslatorsTab(QWidget* parent) : QWidget(parent) { auto translators_file = GlobalSettingStation::GetInstance().GetResourceDir() / "TRANSLATORS"; translators_qfile.setFileName(translators_file.string().c_str()); -#define LINUX +#ifdef LINUX if(!translators_qfile.exists()) { translators_qfile.setFileName("/usr/local/share/GpgFrontend/TRANSLATORS"); } |