valgrind + clang warnings cleanup
This commit is contained in:
@@ -70,8 +70,7 @@ bool Settings::loadFromSettings() {
|
||||
|
||||
uisettings = new Config{host, port, username, password};
|
||||
|
||||
if (username.isEmpty()) return false;
|
||||
return true;
|
||||
return !username.isEmpty();
|
||||
}
|
||||
|
||||
bool Settings::loadFromFile() {
|
||||
@@ -145,4 +144,4 @@ bool Settings::isSyncing() {
|
||||
|
||||
void Settings::setSyncing(bool syncing) {
|
||||
this->_isSyncing = syncing;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user