summaryrefslogtreecommitdiff
path: root/vcl/qt5
diff options
context:
space:
mode:
authorJan-Marek Glogowski <glogow@fbihome.de>2019-06-14 02:30:01 +0200
committerJan-Marek Glogowski <glogow@fbihome.de>2019-06-15 10:53:11 +0200
commit5195c5bcd8be5f3b183659ead272cd86b8774cc1 (patch)
treebfd2b465150e045b831248addea6355eb3847b8b /vcl/qt5
parent365df1880a5bfacf25beddefc9206a783e6a4877 (diff)
Qt5 move and init static m_ActiveDragSource
Change-Id: Iab82151b8d1a8281c9999983b9de5f35dfb0442e Reviewed-on: https://gerrit.libreoffice.org/74013 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Diffstat (limited to 'vcl/qt5')
-rw-r--r--vcl/qt5/Qt5DragAndDrop.cxx1
-rw-r--r--vcl/qt5/Qt5Frame.cxx2
2 files changed, 1 insertions, 2 deletions
diff --git a/vcl/qt5/Qt5DragAndDrop.cxx b/vcl/qt5/Qt5DragAndDrop.cxx
index 74908d2cba8f..118939cdae8f 100644
--- a/vcl/qt5/Qt5DragAndDrop.cxx
+++ b/vcl/qt5/Qt5DragAndDrop.cxx
@@ -22,6 +22,7 @@ using namespace com::sun::star;
bool Qt5DragSource::m_bDropSuccessSet = false;
bool Qt5DragSource::m_bDropSuccess = false;
+Qt5DragSource* Qt5DragSource::m_ActiveDragSource = nullptr;
Qt5DragSource::~Qt5DragSource() {}
diff --git a/vcl/qt5/Qt5Frame.cxx b/vcl/qt5/Qt5Frame.cxx
index 49d68a1cd2f9..48a4403214ea 100644
--- a/vcl/qt5/Qt5Frame.cxx
+++ b/vcl/qt5/Qt5Frame.cxx
@@ -1155,8 +1155,6 @@ void Qt5Frame::SetApplicationID(const OUString& rWMClass)
// Drag'n'drop foo
-Qt5DragSource* Qt5DragSource::m_ActiveDragSource;
-
void Qt5Frame::registerDragSource(Qt5DragSource* pDragSource)
{
assert(!m_pDragSource);