[plugins/qpa] Fix build with Qt 5.4
PlatformIntegration::destroyScreen got added in 5.5.
This commit is contained in:
parent
51ee514227
commit
68683873e3
1 changed files with 2 additions and 0 deletions
|
@ -181,7 +181,9 @@ void Integration::initializeWayland()
|
|||
void Integration::createWaylandOutput(quint32 name, quint32 version)
|
||||
{
|
||||
if (m_dummyScreen) {
|
||||
#if (QT_VERSION >= QT_VERSION_CHECK(5, 5, 0))
|
||||
destroyScreen(m_dummyScreen);
|
||||
#endif
|
||||
m_dummyScreen = nullptr;
|
||||
}
|
||||
using namespace KWayland::Client;
|
||||
|
|
Loading…
Reference in a new issue