This commit is contained in:
Magne Sjaastad 2016-10-04 11:44:31 +02:00
parent 16f8fc186e
commit 6313a06f2e
4 changed files with 6 additions and 4 deletions

View File

@ -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();

View File

@ -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;
}
//==================================================================================================

View File

@ -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();

View File

@ -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