mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#7632 Preferences : Add separate tab Eclipse Summary
Remove obsolete includes
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
|
||||
#include "RicOpenLastUsedFileFeature.h"
|
||||
|
||||
#include "RiaGuiApplication.h"
|
||||
#include "RiaPreferences.h"
|
||||
|
||||
#include "RiuMainWindow.h"
|
||||
@@ -43,7 +44,7 @@ void RicOpenLastUsedFileFeature::onActionTriggered( bool isChecked )
|
||||
|
||||
if ( !app->askUserToSaveModifiedProject() ) return;
|
||||
|
||||
QString fileName = app->preferences()->lastUsedProjectFileName;
|
||||
QString fileName = RiaPreferences::current()->lastUsedProjectFileName;
|
||||
|
||||
if ( app->loadProject( fileName ) )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user