#7632 Preferences : Add separate tab Eclipse Summary

Remove obsolete includes
This commit is contained in:
Magne Sjaastad committed 2021-04-28 14:10:23 +02:00
1 parent 46f186b72d
commit 1cf1eef048
64 files changed
+153 -176

No files matched your search

@@ -20,8 +20,8 @@
#include "RimRegularLegendConfig.h"
#include "RiaApplication.h"
#include "RiaColorTables.h"
#include "RiaGuiApplication.h"
#include "RiaPreferences.h"
#include "RimCellEdgeColors.h"
@@ -589,8 +589,7 @@ void RimRegularLegendConfig::updateLegend()
m_significantDigitsInData = numDecimalDigits;
m_scalarMapperLegend->setTickPrecision( numDecimalDigits );
RiaApplication* app = RiaApplication::instance();
RiaPreferences* preferences = app->preferences();
RiaPreferences* preferences = RiaPreferences::current();
m_scalarMapperLegend->enableBackground( preferences->showLegendBackground() );
m_categoryLegend->enableBackground( preferences->showLegendBackground() );