Commit 3d12a9ae authored by Hugo Beauzee-Luyssen's avatar Hugo Beauzee-Luyssen

Adding missing const

parent 702cef2d
......@@ -60,7 +60,7 @@ void SettingsManager::setValues( const QString& part, QHash<QString, QVariant>
return ;
}
void SettingsManager::setValue( const QString& part , const QString& key, QVariant& value )
void SettingsManager::setValue( const QString& part , const QString& key, const QVariant& value )
{
m_globalLock.lockForRead();
if ( !m_tempData.contains( part ) )
......
......@@ -54,7 +54,7 @@ class SettingsManager : public QObject, public QSingleton<SettingsManager>
friend class QSingleton<SettingsManager>;
public:
void setValues( const QString& part, QHash<QString, QVariant> );
void setValue( const QString& part, const QString& key, QVariant& value );
void setValue( const QString& part, const QString& key, const QVariant& value );
const QVariant& getValue( const QString& part, const QString& key ) const;
void saveSettings( const QString& part, QDomDocument& xmlfile, QDomElement& root );
void loadSettings( const QString& part, const QDomElement& settings );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment