mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#8142 Preferences : Move system settings into separate file
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
#include "RiaImportEclipseCaseTools.h"
|
||||
#include "RiaLogging.h"
|
||||
#include "RiaPreferences.h"
|
||||
#include "RiaPreferencesSystem.h"
|
||||
#include "RiaProjectModifier.h"
|
||||
#include "RiaSocketServer.h"
|
||||
#include "RiaTextStringTools.h"
|
||||
@@ -1213,7 +1214,7 @@ void RiaApplication::applyPreferences()
|
||||
this->project()->updateConnectedEditors();
|
||||
}
|
||||
|
||||
caf::ProgressInfoStatic::setEnabled( m_preferences->showProgressBar() );
|
||||
caf::ProgressInfoStatic::setEnabled( RiaPreferencesSystem::current()->showProgressBar() );
|
||||
|
||||
m_preferences->writePreferencesToApplicationStore();
|
||||
}
|
||||
@@ -1360,7 +1361,7 @@ int RiaApplication::launchUnitTests()
|
||||
|
||||
//
|
||||
// Use the gtest filter to execute a subset of tests
|
||||
QString filterText = RiaPreferences::current()->gtestFilter();
|
||||
QString filterText = RiaPreferencesSystem::current()->gtestFilter();
|
||||
if ( !filterText.isEmpty() )
|
||||
{
|
||||
::testing::GTEST_FLAG( filter ) = filterText.toStdString();
|
||||
|
||||
Reference in New Issue
Block a user