fixed OpenGL in nvidia (there is a CPU ussage issue with vsync)

This commit is contained in:
Luis Ángel San Martín
2014-01-13 16:41:54 +01:00
commit 3c3c27f433
737 changed files with 67746 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
}