AppEnv debug code added
This commit is contained in:
parent
0111e20790
commit
3f31eff4e3
1 changed files with 2 additions and 0 deletions
|
@ -20,6 +20,7 @@
|
||||||
#include "AppEnv.h"
|
#include "AppEnv.h"
|
||||||
#include "StandardPaths.h"
|
#include "StandardPaths.h"
|
||||||
#include <QDir>
|
#include <QDir>
|
||||||
|
#include <QDebug>
|
||||||
#include <QSettings>
|
#include <QSettings>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
@ -35,6 +36,7 @@ QString AppEnv::getGameFolder(bool *ok)
|
||||||
QDir dir;
|
QDir dir;
|
||||||
bool retok;
|
bool retok;
|
||||||
QString GTAV_FOLDER(getenv("GTAV_FOLDER"));
|
QString GTAV_FOLDER(getenv("GTAV_FOLDER"));
|
||||||
|
qDebug() << GTAV_FOLDER;
|
||||||
if (GTAV_FOLDER != "")
|
if (GTAV_FOLDER != "")
|
||||||
{
|
{
|
||||||
dir.setPath(GTAV_FOLDER);
|
dir.setPath(GTAV_FOLDER);
|
||||||
|
|
Loading…
Reference in a new issue