mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#4410 Dock Window State : Remove obsolete functions
This commit is contained in:
@@ -1172,28 +1172,6 @@ std::vector<QAction*> RiaGuiApplication::recentFileActions() const
|
||||
return m_recentFileActionProvider->actions();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RiaGuiApplication::saveMainWinGeoAndDockToolBarLayout()
|
||||
{
|
||||
if (isMain3dWindowVisible())
|
||||
{
|
||||
m_mainWindow->saveWinGeoAndDockToolBarLayout();
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RiaGuiApplication::savePlotWinGeoAndDockToolBarLayout()
|
||||
{
|
||||
if (isMainPlotWindowVisible())
|
||||
{
|
||||
m_mainPlotWindow->saveWinGeoAndDockToolBarLayout();
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
@@ -119,9 +119,6 @@ public:
|
||||
|
||||
std::vector<QAction*> recentFileActions() const;
|
||||
|
||||
void saveMainWinGeoAndDockToolBarLayout();
|
||||
void savePlotWinGeoAndDockToolBarLayout();
|
||||
|
||||
static void clearAllSelections();
|
||||
void applyGuiPreferences(const RiaPreferences* oldPreferences = nullptr);
|
||||
|
||||
|
||||
@@ -272,7 +272,7 @@ void RiuMainWindow::closeEvent(QCloseEvent* event)
|
||||
{
|
||||
RiaGuiApplication* app = RiaGuiApplication::instance();
|
||||
|
||||
app->saveMainWinGeoAndDockToolBarLayout();
|
||||
this->saveWinGeoAndDockToolBarLayout();
|
||||
|
||||
if (app->isMainPlotWindowVisible())
|
||||
{
|
||||
|
||||
@@ -178,9 +178,9 @@ void RiuPlotMainWindow::cleanUpTemporaryWidgets()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RiuPlotMainWindow::closeEvent(QCloseEvent* event)
|
||||
{
|
||||
RiaGuiApplication* app = RiaGuiApplication::instance();
|
||||
this->saveWinGeoAndDockToolBarLayout();
|
||||
|
||||
app->savePlotWinGeoAndDockToolBarLayout();
|
||||
RiaGuiApplication* app = RiaGuiApplication::instance();
|
||||
|
||||
if (app->isMain3dWindowVisible())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user