aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/KeyServerImportDialog.cpp
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2021-06-25 21:28:27 +0000
committerSaturneric <[email protected]>2021-06-25 21:28:27 +0000
commit4870b452c90b50c3ec67c773b617d3fb1b8c0ee0 (patch)
tree2bf5714d6c5fe1eabcdcba7eac074f3fa7fabc3b /src/ui/KeyServerImportDialog.cpp
parentMerge; (diff)
downloadGpgFrontend-4870b452c90b50c3ec67c773b617d3fb1b8c0ee0.tar.gz
GpgFrontend-4870b452c90b50c3ec67c773b617d3fb1b8c0ee0.zip
Update CMakeLists.txt;
Change Resource File Loading Path For macOS
Diffstat (limited to 'src/ui/KeyServerImportDialog.cpp')
-rw-r--r--src/ui/KeyServerImportDialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/KeyServerImportDialog.cpp b/src/ui/KeyServerImportDialog.cpp
index bfa53cce..1999b443 100644
--- a/src/ui/KeyServerImportDialog.cpp
+++ b/src/ui/KeyServerImportDialog.cpp
@@ -29,7 +29,7 @@
KeyServerImportDialog::KeyServerImportDialog(GpgME::GpgContext *ctx, KeyList *keyList, bool automatic,
QWidget *parent)
: QDialog(parent), appPath(qApp->applicationDirPath()),
- settings(appPath + "/conf/gpgfrontend.ini", QSettings::IniFormat),
+ settings(RESOURCE_DIR(appPath) + "/conf/gpgfrontend.ini", QSettings::IniFormat),
mCtx(ctx), mKeyList(keyList), mAutomatic(automatic) {
if(automatic) {
@@ -442,7 +442,7 @@ void KeyServerImportDialog::setLoading(bool status) {
KeyServerImportDialog::KeyServerImportDialog(GpgME::GpgContext *ctx, QWidget *parent)
: QDialog(parent), appPath(qApp->applicationDirPath()),
- settings(appPath + "/conf/gpgfrontend.ini", QSettings::IniFormat),
+ settings(RESOURCE_DIR(appPath) + "/conf/gpgfrontend.ini", QSettings::IniFormat),
mCtx(ctx), mAutomatic(true) {
setWindowFlags(Qt::Window | Qt::WindowTitleHint | Qt::CustomizeWindowHint);