From 5ecb26aceed317210de354da08cd326225023689 Mon Sep 17 00:00:00 2001 From: Bill Somerville Date: Wed, 29 Apr 2015 15:01:09 +0000 Subject: [PATCH] Make the runtime docments location work with any CWD The loaction of the documentation directory should not be effected by the current working directory when the application is started. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5324 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- Configuration.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Configuration.cpp b/Configuration.cpp index a9d362547..422cd6d4d 100644 --- a/Configuration.cpp +++ b/Configuration.cpp @@ -698,6 +698,7 @@ Configuration::impl::impl (Configuration * self, QSettings * settings, QWidget * , self_ {self} , ui_ {new Ui::configuration_dialog} , settings_ {settings} + , doc_dir_ {QApplication::applicationDirPath ()} , frequencies_ { { 136130, 474200, 1838000, 3576000, 5357000, 7076000, 10138000, 14076000, 18102000, 21076000, 24917000, 28076000, 50276000, 70091000, 144000000, 144489000, 222000000,