summaryrefslogtreecommitdiff
path: root/vcl/qt5/Qt5Frame.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/qt5/Qt5Frame.cxx')
-rw-r--r--vcl/qt5/Qt5Frame.cxx11
1 files changed, 9 insertions, 2 deletions
diff --git a/vcl/qt5/Qt5Frame.cxx b/vcl/qt5/Qt5Frame.cxx
index 070342601bbd..ae3ae325ccd2 100644
--- a/vcl/qt5/Qt5Frame.cxx
+++ b/vcl/qt5/Qt5Frame.cxx
@@ -133,6 +133,14 @@ Qt5Frame::Qt5Frame(Qt5Frame* pParent, SalFrameStyleFlags nStyle, bool bUseCairo)
maGeometry.nLeftDecoration = 0;
maGeometry.nRightDecoration = 0;
}
+
+ m_aSystemData.nSize = sizeof(SystemEnvData);
+ //m_aSystemData.aWindow = GetNativeWindowHandle(m_pWindow);
+ m_aSystemData.aShellWindow = reinterpret_cast<sal_IntPtr>(this);
+ //m_aSystemData.pSalFrame = this;
+ //m_aSystemData.pWidget = m_pQWidget;
+ //m_aSystemData.nScreen = m_nXScreen.getXScreen();
+ m_aSystemData.pToolkit = "qt5";
}
Qt5Frame::~Qt5Frame()
@@ -143,6 +151,7 @@ Qt5Frame::~Qt5Frame()
delete m_pTopLevel;
else
delete m_pQWidget;
+ m_aSystemData.aShellWindow = 0;
}
void Qt5Frame::Damage(sal_Int32 nExtentsX, sal_Int32 nExtentsY, sal_Int32 nExtentsWidth,
@@ -780,8 +789,6 @@ void Qt5Frame::UpdateSettings(AllSettings& rSettings)
void Qt5Frame::Beep() { QApplication::beep(); }
-const SystemEnvData* Qt5Frame::GetSystemData() const { return nullptr; }
-
SalFrame::SalPointerState Qt5Frame::GetPointerState()
{
SalPointerState aState;