]> git.lyx.org Git - features.git/blobdiff - src/frontends/qt4/GuiClipboard.cpp
Fix multiple cell pasting on Windows and Mac (bug 4436):
[features.git] / src / frontends / qt4 / GuiClipboard.cpp
index 188eafbbcefe545b306b4bfa2e7a3c66c1b8a879..8915ab92990fd52b6c67bb1ba20e12de361e2abb 100644 (file)
@@ -115,6 +115,19 @@ bool GuiClipboard::isInternal() const
 }
 
 
+bool GuiClipboard::hasInternal() const
+{
+       // Windows and Mac OS X does not have the concept of ownership;
+       // the clipboard is a fully global resource so all applications 
+       // are notified of changes.
+#if (defined(Q_WS_X11))
+       return true;
+#else
+       return false;
+#endif
+}
+
+
 void GuiClipboard::on_dataChanged()
 {
        text_clipboard_empty_ = qApp->clipboard()->