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

21
common/exit_check.cpp Normal file
View File

@ -0,0 +1,21 @@
#include "exit_check.h"
#include "yacreader_global.h"
#include <QMessageBox>
using namespace YACReader;
void YACReader::exitCheck(int ret)
{
switch(ret)
{
case YACReader::SevenZNotFound:
QMessageBox::critical(0,QObject::tr("7z lib not found"),QObject::tr("unable to load 7z lib from ./utils"));
break;
default:
break;
}
}