Enable debug output when using emulator on daemon, too
This commit is contained in:
parent
709e384075
commit
74cad3b5b5
1 changed files with 6 additions and 2 deletions
|
@ -45,8 +45,12 @@ int main(int argc, char** argv)
|
||||||
return EXIT_SUCCESS;
|
return EXIT_SUCCESS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(!qEnvironmentVariableIsSet(logEnvVar))
|
if(!qEnvironmentVariableIsSet(logEnvVar)) {
|
||||||
|
if(!QHostInfo::localHostName().contains("SailfishEmul"))
|
||||||
qputenv(logEnvVar, "*.info=false;*.debug=false");
|
qputenv(logEnvVar, "*.info=false;*.debug=false");
|
||||||
|
else
|
||||||
|
qputenv(logEnvVar, "*.info=true");
|
||||||
|
}
|
||||||
|
|
||||||
QCoreApplication app(argc, argv);
|
QCoreApplication app(argc, argv);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue