Commit 31cc2852 authored by jcfr's avatar jcfr
Browse files

STYLE: Remove private member to be consistent with setter/getter function name

Function is named "userRevisionSettings()" and associated member is now
named "RevisionUserSettings" instead of "RevisionSpecificUserSettings"

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21490 3bd1e089-480b-0410-8dfb-8563597acbee
parent e6fb116c
......@@ -895,13 +895,13 @@ QSettings* qSlicerCoreApplication::revisionUserSettings()const
qSlicerCoreApplicationPrivate* mutable_d =
const_cast<qSlicerCoreApplicationPrivate*>(d);
// If required, instantiate Settings
if(!mutable_d->RevisionSpecificUserSettings)
if(!mutable_d->RevisionUserSettings)
{
mutable_d->RevisionSpecificUserSettings =
mutable_d->RevisionUserSettings =
new QSettings(this->slicerRevisionUserSettingsFilePath(),
QSettings::IniFormat, const_cast<qSlicerCoreApplication*>(this));
}
return mutable_d->RevisionSpecificUserSettings;
return mutable_d->RevisionUserSettings;
}
//-----------------------------------------------------------------------------
......
......@@ -120,7 +120,7 @@ public:
QString IntDir;
QSettings* UserSettings;
QSettings* RevisionSpecificUserSettings;
QSettings* RevisionUserSettings;
/// ModuleManager - It should exist only one instance of the factory
QSharedPointer<qSlicerModuleManager> ModuleManager;
......
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