mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#4657 Remove unused parameter
This commit is contained in:
@@ -1105,8 +1105,8 @@ RiaPreferences* RiaApplication::preferences()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RiaApplication::applyPreferences( const RiaPreferences* oldPreferences )
|
||||
{
|
||||
void RiaApplication::applyPreferences()
|
||||
{
|
||||
// The creation of a font is time consuming, so make sure you really need your own font
|
||||
// instead of using the application font
|
||||
std::map<RiaDefines::FontSettingType, RiaFontCache::FontSize> fontSizes = m_preferences->defaultFontSizes();
|
||||
@@ -1410,7 +1410,7 @@ void RiaApplication::initialize()
|
||||
m_preferences = new RiaPreferences;
|
||||
caf::PdmSettings::readFieldsFromApplicationStore( m_preferences );
|
||||
m_preferences->initAfterReadRecursively();
|
||||
applyPreferences( nullptr );
|
||||
applyPreferences();
|
||||
|
||||
// Start with a project
|
||||
m_project = new RimProject;
|
||||
|
||||
@@ -162,7 +162,7 @@ public:
|
||||
void waitForProcess() const;
|
||||
|
||||
RiaPreferences* preferences();
|
||||
void applyPreferences( const RiaPreferences* oldPreferences = nullptr );
|
||||
void applyPreferences();
|
||||
|
||||
QString commandLineParameterHelp();
|
||||
void setCommandLineHelpText( const QString& commandLineHelpText );
|
||||
|
||||
@@ -56,8 +56,8 @@ void RicEditPreferencesFeature::onActionTriggered( bool isChecked )
|
||||
if ( propertyDialog.exec() == QDialog::Accepted )
|
||||
{
|
||||
// Write preferences using QSettings and apply them to the application
|
||||
app->applyPreferences( oldPreferences.get() );
|
||||
app->applyGuiPreferences( oldPreferences.get() );
|
||||
app->applyPreferences();
|
||||
app->applyGuiPreferences(oldPreferences.get());
|
||||
app->updateGrpcServer();
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user