fixed compilation in MacOSX

This commit is contained in:
Luis Ángel San Martín
2014-01-04 13:44:40 +01:00
commit 5e686ea693
737 changed files with 67477 additions and 0 deletions

View File

@ -0,0 +1,13 @@
#include "yacreader_global.h"
using namespace YACReader;
QString YACReader::getSettingsPath()
{
#if QT_VERSION >= 0x050000
return QStandardPaths::writableLocation(QStandardPaths::DataLocation);
#else
return QDesktopServices::storageLocation(QDesktopServices::DataLocation);
#endif
}