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:
@@ -22,7 +22,7 @@
|
||||
#include "RiaFilePathTools.h"
|
||||
#include "RiaFractureDefines.h"
|
||||
#include "RiaLogging.h"
|
||||
#include "RiaPreferences.h"
|
||||
#include "RiaPreferencesSystem.h"
|
||||
#include "RiaWeightedMeanCalculator.h"
|
||||
|
||||
#include "ExportCommands/RicExportLgrFeature.h"
|
||||
@@ -113,7 +113,7 @@ void RicWellPathExportCompletionDataFeatureImpl::exportCompletions( const std::v
|
||||
std::unique_ptr<QTextStream> fractureTransmissibilityExportInformationStream = nullptr;
|
||||
QFile fractureTransmissibilityExportInformationFile;
|
||||
|
||||
RiaPreferences* prefs = RiaPreferences::current();
|
||||
RiaPreferencesSystem* prefs = RiaPreferencesSystem::current();
|
||||
if ( prefs->includeFractureDebugInfoFile() )
|
||||
{
|
||||
QDir outputDir = QDir( exportSettings.folder );
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
|
||||
#include "RiaLogging.h"
|
||||
#include "RiaPreferences.h"
|
||||
#include "RiaPreferencesSystem.h"
|
||||
|
||||
#include "VdeArrayDataPacket.h"
|
||||
#include "VdeFileExporter.h"
|
||||
@@ -80,7 +81,7 @@ RicHoloLensSession* RicHoloLensSession::createSession( const QString&
|
||||
|
||||
newSession->m_sessionObserver = sessionObserver;
|
||||
|
||||
const QString dbgExportFolder = RiaPreferences::current()->holoLensExportFolder();
|
||||
const QString dbgExportFolder = RiaPreferencesSystem::current()->holoLensExportFolder();
|
||||
if ( !dbgExportFolder.isEmpty() )
|
||||
{
|
||||
newSession->m_dbgFileExportDestinationFolder = dbgExportFolder;
|
||||
@@ -99,7 +100,7 @@ RicHoloLensSession* RicHoloLensSession::createDummyFileBackedSession()
|
||||
|
||||
newSession->m_isSessionValid = true;
|
||||
|
||||
newSession->m_dbgFileExportDestinationFolder = RiaPreferences::current()->holoLensExportFolder();
|
||||
newSession->m_dbgFileExportDestinationFolder = RiaPreferencesSystem::current()->holoLensExportFolder();
|
||||
|
||||
return newSession;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user