yacreader/common/yacreader_global.cpp
Luis Ángel San Martín e51480469f moved settings files from local dir to standar paths
added YACReaderLibraries class, libraries are now identified by id
2013-11-15 00:07:42 +01:00

14 lines
303 B
C++

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