mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-25 13:48:42 -05:00
Fix local user manual on Mac.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4367 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
e2c8634f54
commit
d207d3f3d5
@ -97,6 +97,8 @@ endif (WIN32)
|
||||
if (APPLE)
|
||||
set (WSJT_BIN_DESTINATION ${CMAKE_PROJECT_NAME}.app/Contents/MacOS)
|
||||
set (WSJT_SHARE_DESTINATION ${CMAKE_PROJECT_NAME}.app/Contents/Resources)
|
||||
set (WSJT_MANPAGE_DESTINATION ${CMAKE_PROJECT_NAME}.app/Contents/Resources)
|
||||
set (WSJT_DOC_DESTINATION doc)
|
||||
set (WSJT_PLUGIN_DESTINATION ${CMAKE_PROJECT_NAME}.app/Contents/PlugIns)
|
||||
set (WSJT_QT_CONF_DESTINATION ${CMAKE_PROJECT_NAME}.app/Contents/Resources)
|
||||
endif (APPLE)
|
||||
|
@ -605,6 +605,10 @@ Configuration::impl::impl (Configuration * self, QString const& instance_key, QS
|
||||
if (path.isEmpty ())
|
||||
{
|
||||
doc_path_.cdUp ();
|
||||
#if defined (Q_OS_MAC)
|
||||
doc_path_.cdUp ();
|
||||
doc_path_.cdUp ();
|
||||
#endif
|
||||
doc_path_.cd (WSJT_SHARE_DESTINATION);
|
||||
doc_path_.cd (WSJT_DOC_DESTINATION);
|
||||
}
|
||||
@ -613,7 +617,7 @@ Configuration::impl::impl (Configuration * self, QString const& instance_key, QS
|
||||
doc_path_.cd (path);
|
||||
}
|
||||
#else
|
||||
doc_path.cd (WSJT_DOC_DESTINATION);
|
||||
doc_path_.cd (WSJT_DOC_DESTINATION);
|
||||
#endif
|
||||
|
||||
#if WSJT_STANDARD_FILE_LOCATIONS
|
||||
|
Loading…
Reference in New Issue
Block a user