]> git.lyx.org Git - features.git/commitdiff
explain why ownsClipbiard() does not work on Windows and OS X
authorGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Tue, 3 Apr 2007 08:27:23 +0000 (08:27 +0000)
committerGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Tue, 3 Apr 2007 08:27:23 +0000 (08:27 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17704 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiClipboard.C

index 3359e8b46963679943d65d7c60933c1d41c8781f..e84c0162d78393112f19d3e6a5da21d45dc682e5 100644 (file)
@@ -108,6 +108,8 @@ bool GuiClipboard::isInternal() const
 {
        // ownsClipboard() is also true for stuff coming from dialogs, e.g.
        // 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();
 }