iOS: Delete members in platform integration
Change-Id: Ibb1bf2bf4a1ced897172facbc9027402adfe6f08 Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>bb10
parent
f331f0ee28
commit
2844be2434
|
|
@ -54,6 +54,7 @@ class QIOSIntegration : public QPlatformIntegration, public QPlatformNativeInter
|
|||
{
|
||||
public:
|
||||
QIOSIntegration();
|
||||
~QIOSIntegration();
|
||||
|
||||
bool hasCapability(Capability cap) const;
|
||||
|
||||
|
|
|
|||
|
|
@ -81,6 +81,18 @@ QIOSIntegration::QIOSIntegration()
|
|||
QWindowSystemInterface::registerTouchDevice(m_touchDevice);
|
||||
}
|
||||
|
||||
QIOSIntegration::~QIOSIntegration()
|
||||
{
|
||||
delete m_fontDatabase;
|
||||
m_fontDatabase = 0;
|
||||
|
||||
delete m_inputContext;
|
||||
m_inputContext = 0;
|
||||
|
||||
delete m_screen;
|
||||
m_screen = 0;
|
||||
}
|
||||
|
||||
bool QIOSIntegration::hasCapability(Capability cap) const
|
||||
{
|
||||
switch (cap) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue