]> git.lyx.org Git - features.git/commit
Fix #6597: LyX Appears frozen if the process holding the clipboard is frozen
authorVincent van Ravesteijn <vfr@lyx.org>
Sat, 23 Oct 2010 00:21:58 +0000 (00:21 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Sat, 23 Oct 2010 00:21:58 +0000 (00:21 +0000)
commitf3ed8071d877e4d59371152ab2d08d03a758c180
tree3ec63bab9e37ba44e995657038e4df9fcb11fb24
parentad51a8e88e3d9afac5ed354d0d5adb656e692c02
Fix #6597: LyX Appears frozen if the process holding the clipboard is frozen

Implements CacheMimeData type so that we only need to query the
clipboard once on startup and once each time the contents of the
clipboard change. This is important as Qt takes 5 seconds to time-out when the clipboard is non-responsive.

Patch by John McCabe-Dansted.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35790 a592a061-630c-0410-9148-cb99ea01b6c8
src/frontends/qt4/GuiClipboard.cpp
src/frontends/qt4/GuiClipboard.h