mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-02-03 18:34:28 +00:00
Delete unnecessary explicit return
This commit is contained in:
parent
8fa6e372a2
commit
1121316926
@ -781,7 +781,7 @@ bool Preferences::isUILocked() const
|
|||||||
|
|
||||||
void Preferences::setUILocked(const bool locked)
|
void Preferences::setUILocked(const bool locked)
|
||||||
{
|
{
|
||||||
return setValue("Locking/locked", locked);
|
setValue("Locking/locked", locked);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Preferences::isAutoRunEnabled() const
|
bool Preferences::isAutoRunEnabled() const
|
||||||
@ -791,7 +791,7 @@ bool Preferences::isAutoRunEnabled() const
|
|||||||
|
|
||||||
void Preferences::setAutoRunEnabled(const bool enabled)
|
void Preferences::setAutoRunEnabled(const bool enabled)
|
||||||
{
|
{
|
||||||
return setValue("AutoRun/enabled", enabled);
|
setValue("AutoRun/enabled", enabled);
|
||||||
}
|
}
|
||||||
|
|
||||||
QString Preferences::getAutoRunProgram() const
|
QString Preferences::getAutoRunProgram() const
|
||||||
|
Loading…
x
Reference in New Issue
Block a user