Don't crash if windowmanager is not initialized
authorLasse Holmstedt <lasse.holmstedt@nokia.com>
Thu, 19 May 2011 14:30:44 +0000 (16:30 +0200)
committerSamuel Rødal <samuel.rodal@nokia.com>
Thu, 19 May 2011 14:54:12 +0000 (16:54 +0200)
commit611837baec6a32f8c4d88c34f5b96cce15bf3120
treeaaf1043a670711600f14e7a0c948207e09b91f0a
parentac0eef5d64f14f228f78acfbaf58981a6c32f7e5
Don't crash if windowmanager is not initialized

This can happen if there is e.g. no wayland server.

Reviewed-by: sroedal
(cherry picked from commit aea5e35f57d061b133d2fa613d10f5e0118f5706)
src/plugins/platforms/wayland/windowmanager_integration/qwaylandwindowmanagerintegration.cpp