Fix return values
This commit is contained in:
committed by
Raphael Coeffic
parent
cade5c3529
commit
44e2d6371d
@@ -187,9 +187,9 @@ bool readSettings(const QString & filename, ProgressWidget * progress)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (Boards::getCapability(board, Board::HasSDCard))
|
if (Boards::getCapability(board, Board::HasSDCard))
|
||||||
readSettingsSDCard(filename, progress);
|
return readSettingsSDCard(filename, progress);
|
||||||
else
|
else
|
||||||
readSettingsEeprom(filename, progress);
|
return readSettingsEeprom(filename, progress);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool readSettingsSDCard(const QString & filename, ProgressWidget * progress)
|
bool readSettingsSDCard(const QString & filename, ProgressWidget * progress)
|
||||||
|
|||||||
Reference in New Issue
Block a user