AppEnv debug code added

This commit is contained in:
Rafael 2016-04-11 14:44:15 +02:00
parent 0111e20790
commit 3f31eff4e3

View file

@ -20,6 +20,7 @@
#include "AppEnv.h"
#include "StandardPaths.h"
#include <QDir>
#include <QDebug>
#include <QSettings>
#include <iostream>
using namespace std;
@ -35,6 +36,7 @@ QString AppEnv::getGameFolder(bool *ok)
QDir dir;
bool retok;
QString GTAV_FOLDER(getenv("GTAV_FOLDER"));
qDebug() << GTAV_FOLDER;
if (GTAV_FOLDER != "")
{
dir.setPath(GTAV_FOLDER);