mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
14 lines
304 B
C++
14 lines
304 B
C++
#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
|
|
|
|
}
|