valgrind + clang warnings cleanup

This commit is contained in:
Aditya Kulkarni
2018-10-17 23:20:40 -07:00
parent 995b6bc96d
commit fa4f8685d9
7 changed files with 171 additions and 207 deletions

View File

@@ -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;
}
}