mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 11:08:41 +00:00
explain why ownsClipbiard() does not work on Windows and OS X
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17704 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
3387c00c9d
commit
f7665c1e11
@ -108,6 +108,8 @@ bool GuiClipboard::isInternal() const
|
|||||||
{
|
{
|
||||||
// ownsClipboard() is also true for stuff coming from dialogs, e.g.
|
// ownsClipboard() is also true for stuff coming from dialogs, e.g.
|
||||||
// the preamble dialog
|
// the preamble dialog
|
||||||
|
// FIXME: This does only work on X11, since ownsClipboard() is
|
||||||
|
// hardwired to return false on Windows and OS X.
|
||||||
return qApp->clipboard()->ownsClipboard() && hasLyXContents();
|
return qApp->clipboard()->ownsClipboard() && hasLyXContents();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user