[Libreoffice-commits] core.git: Branch 'feature/qt5+kde5' - vcl/qt5
Katarina Behrens
Katarina.Behrens at cib.de
Wed Apr 11 16:40:39 UTC 2018
vcl/qt5/Qt5Instance.cxx | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 5e99c65386159470461c6e77e8f56e7191a4cdd8
Author: Katarina Behrens <Katarina.Behrens at cib.de>
Date: Wed Apr 11 18:24:55 2018 +0200
Qt5 plugin now identifies itself as such (in About dialog)
Change-Id: Icdc3d8dd20469bc2b2ca6e94a1318f313b9a5aa9
diff --git a/vcl/qt5/Qt5Instance.cxx b/vcl/qt5/Qt5Instance.cxx
index 69acffb151dd..beab3ed902b8 100644
--- a/vcl/qt5/Qt5Instance.cxx
+++ b/vcl/qt5/Qt5Instance.cxx
@@ -47,6 +47,10 @@ Qt5Instance::Qt5Instance(SalYieldMutex* pMutex, bool bUseCairo)
, m_postUserEventId(-1)
, m_bUseCairo(bUseCairo)
{
+ ImplSVData* pSVData = ImplGetSVData();
+ delete pSVData->maAppData.mpToolkitName;
+ pSVData->maAppData.mpToolkitName = new OUString("qt5");
+
m_postUserEventId = QEvent::registerEventType();
// this one needs to be blocking, so that the handling in main thread
More information about the Libreoffice-commits
mailing list