1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-01 09:24:10 +01:00

LP-10 Fix incorrect return type in generalsettings

This commit is contained in:
Stefan Karlsson 2015-07-12 17:11:08 +02:00
parent e44bafaee5
commit e6f88883d0
2 changed files with 4 additions and 4 deletions

View File

@ -279,7 +279,7 @@ bool GeneralSettings::useExpertMode() const
return m_useExpertMode;
}
bool GeneralSettings::setCollectUsageData(bool collect)
void GeneralSettings::setCollectUsageData(bool collect)
{
if (collect && collect != m_collectUsageData) {
setShowUsageDataDisclaimer(true);
@ -287,7 +287,7 @@ bool GeneralSettings::setCollectUsageData(bool collect)
m_collectUsageData = collect;
}
bool GeneralSettings::setShowUsageDataDisclaimer(bool show)
void GeneralSettings::setShowUsageDataDisclaimer(bool show)
{
m_showUsageDataDisclaimer = show;
}

View File

@ -63,8 +63,8 @@ public:
void readSettings(QSettings *qs);
void saveSettings(QSettings *qs);
bool useExpertMode() const;
bool setCollectUsageData(bool collect);
bool setShowUsageDataDisclaimer(bool show);
void setCollectUsageData(bool collect);
void setShowUsageDataDisclaimer(bool show);
void setLastUsageHash(QString hash);
private slots: