summaryrefslogtreecommitdiffstats
path: root/src/platformsupport
diff options
context:
space:
mode:
authorSandro Mani <manisandro@gmail.com>2015-02-02 11:08:59 +0100
committerShawn Rutledge <shawn.rutledge@digia.com>2015-02-04 14:41:19 +0000
commit1f4b84f69f13edd10300d035321623291c5d073e (patch)
tree7ee164d88afba895366f8b5e580232ed8b32065b /src/platformsupport
parentcf1c4d810a043ca5fe60623569c131a2a7a417df (diff)
QXcbClipboard: don't hold on to the screen pointer
Remove the QXcbClipboard::m_screen member variable and make it use connection()->primaryScreen() instead. The clipboard is created in the QXcbConnection constructor, and QXcbClipboard::m_screen was set to the primary screen at the time of construction. If the primary screen later gets disconnected, m_screen ends up pointing to a non-existing screen. Change-Id: I2d23106673d0ba013056d4dbb7078acdf6f9bc7c Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com> Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
Diffstat (limited to 'src/platformsupport')
0 files changed, 0 insertions, 0 deletions