Enable trace if env variable is set
This commit is contained in:
parent
0c3893ddf8
commit
a865381b65
@ -155,7 +155,7 @@ void Manager::setupTrace(bool isOn)
|
|||||||
|
|
||||||
if (!isOn) {
|
if (!isOn) {
|
||||||
debug::setTraceFileName({});
|
debug::setTraceFileName({});
|
||||||
debug::isTrace = false;
|
debug::isTrace = qEnvironmentVariableIsSet("TRACE");
|
||||||
|
|
||||||
if (!oldFile.isEmpty())
|
if (!oldFile.isEmpty())
|
||||||
QDesktopServices::openUrl(QUrl::fromLocalFile(oldFile));
|
QDesktopServices::openUrl(QUrl::fromLocalFile(oldFile));
|
||||||
|
Loading…
Reference in New Issue
Block a user