1
0
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:
iphydf 2016-07-31 22:47:32 +01:00
parent 23d08db5c0
commit e4d41acdc6
No known key found for this signature in database
GPG Key ID: 3855DBA2D74403C9

View File

@ -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()