new packaging process for MacOSX (create-dmg is needed https://github.com/andreyvit/yoursway-create-dmg)

fixed settings path in MacOSX
This commit is contained in:
Luis Ángel San Martín
2013-12-03 02:02:32 +01:00
parent fc933b3747
commit 2514f96942
7 changed files with 26 additions and 20 deletions

View File

@ -5,7 +5,7 @@ using namespace YACReader;
QString YACReader::getSettingsPath()
{
#if QT_VERSION >= 0x050000
return QStandardPaths::writableLocation(QStandardPaths::ConfigLocation);
return QStandardPaths::writableLocation(QStandardPaths::DataLocation);
#else
return QDesktopServices::storageLocation(QDesktopServices::DataLocation);
#endif