mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
chore: Return a well-defined value from setAutorun.
There is no documentation about what this function is supposed to do or what it should return, so I'm just guessing it's a success boolean, so it should be returning true.
This commit is contained in:
parent
23d08db5c0
commit
e4d41acdc6
|
@ -38,6 +38,7 @@ bool Platform::setAutorun(bool on)
|
||||||
|
|
||||||
state = on;
|
state = on;
|
||||||
autoRun.setValue("RunAtLoad", state);
|
autoRun.setValue("RunAtLoad", state);
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Platform::getAutorun()
|
bool Platform::getAutorun()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user