mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-09 23:16:00 -06:00
#846 Linux fix
This commit is contained in:
parent
16f8fc186e
commit
6313a06f2e
@ -80,7 +80,7 @@ RiuMainPlotWindow::RiuMainPlotWindow()
|
||||
// Store the layout so we can offer reset option
|
||||
m_initialDockAndToolbarLayout = saveState(0);
|
||||
|
||||
m_dragDropInterface = std::make_unique<RiuDragDrop>();
|
||||
m_dragDropInterface = std::unique_ptr<caf::PdmUiDragDropInterface>(new RiuDragDrop());
|
||||
|
||||
initializeGuiNewProjectLoaded();
|
||||
|
||||
|
@ -20,6 +20,8 @@
|
||||
|
||||
#include "RiuMainWindowBase.h"
|
||||
|
||||
#include "cafPdmUiDragDropInterface.h"
|
||||
|
||||
#include <QMdiArea>
|
||||
|
||||
#include <memory>
|
||||
@ -36,7 +38,6 @@ namespace caf
|
||||
class PdmObject;
|
||||
class PdmUiPropertyView;
|
||||
class PdmUiItem;
|
||||
class PdmUiDragDropInterface;
|
||||
}
|
||||
|
||||
//==================================================================================================
|
||||
|
@ -139,7 +139,7 @@ RiuMainWindow::RiuMainWindow()
|
||||
|
||||
sm_mainWindowInstance = this;
|
||||
|
||||
m_dragDropInterface = std::make_unique<RiuDragDrop>();
|
||||
m_dragDropInterface = std::unique_ptr<caf::PdmUiDragDropInterface>(new RiuDragDrop());
|
||||
|
||||
initializeGuiNewProjectLoaded();
|
||||
|
||||
|
@ -22,6 +22,8 @@
|
||||
|
||||
#include "RiuMainWindowBase.h"
|
||||
|
||||
#include "cafPdmUiDragDropInterface.h"
|
||||
|
||||
#include <QEvent>
|
||||
#include <QPointer>
|
||||
#include <QMdiArea>
|
||||
@ -57,7 +59,6 @@ namespace caf
|
||||
class PdmUiPropertyView;
|
||||
class UiPropertyCreatorPdm;
|
||||
class PdmUiItem;
|
||||
class PdmUiDragDropInterface;
|
||||
}
|
||||
|
||||
namespace ssihub
|
||||
|
Loading…
Reference in New Issue
Block a user