#7632 Preferences : Add separate tab Eclipse Summary

Remove obsolete includes
This commit is contained in:
Magne Sjaastad
2021-04-28 10:29:53 +02:00
parent 46f186b72d
commit 1cf1eef048
64 changed files with 153 additions and 176 deletions

View File

@@ -18,7 +18,6 @@
#include "RicSnapshotViewToPdfFeature.h"
#include "RiaApplication.h"
#include "RiaGuiApplication.h"
#include "RiaLogging.h"
#include "RiaPreferences.h"
@@ -72,7 +71,7 @@ void RicSnapshotViewToPdfFeature::onActionTriggered( bool isChecked )
{
RicSnapshotViewToFileFeature::savePlotPdfReportAs( fileName, plotWindow );
if ( RiaApplication::instance()->preferences()->openExportedPdfInViewer() )
if ( RiaPreferences::current()->openExportedPdfInViewer() )
{
QDesktopServices::openUrl( fileName );
}