Get rid of cForceWorkingDir(cWorkingDir())
It has no sense as no code sets working directory directly to the variable anymore.
This commit is contained in:
parent
330dfaa4d9
commit
3d769a6dce
|
@ -364,7 +364,6 @@ void start() {
|
||||||
|
|
||||||
if (!cWorkingDir().isEmpty()) {
|
if (!cWorkingDir().isEmpty()) {
|
||||||
// This value must come from TelegramForcePortable
|
// This value must come from TelegramForcePortable
|
||||||
cForceWorkingDir(cWorkingDir());
|
|
||||||
workingDirChosen = true;
|
workingDirChosen = true;
|
||||||
} else {
|
} else {
|
||||||
#if !defined _DEBUG || defined OS_MAC_STORE
|
#if !defined _DEBUG || defined OS_MAC_STORE
|
||||||
|
@ -387,7 +386,6 @@ void start() {
|
||||||
|
|
||||||
if (!cWorkingDir().isEmpty()) {
|
if (!cWorkingDir().isEmpty()) {
|
||||||
// This value must come from TelegramForcePortable
|
// This value must come from TelegramForcePortable
|
||||||
cForceWorkingDir(cWorkingDir());
|
|
||||||
workingDirChosen = true;
|
workingDirChosen = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue