]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiClipboard.cpp
On Linux show in crash message box the backtrace
[lyx.git] / src / frontends / qt4 / GuiClipboard.cpp
index 2df20a0cba2d700c9b5062ce03d8133cdbaa6d88..d96dd26f0be90fdaa5fe793208fbd7fa8a0a3981 100644 (file)
@@ -413,6 +413,12 @@ docstring const GuiClipboard::getAsText(TextType type) const
 }
 
 
+void GuiClipboard::put(string const & text) const
+{
+       qApp->clipboard()->setText(toqstr(text));
+}
+
+
 void GuiClipboard::put(string const & lyx, docstring const & html, docstring const & text)
 {
        LYXERR(Debug::ACTION, "GuiClipboard::put(`" << lyx << "' `"