]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiSelection.cpp
Use <cstdint> instead of <boost/cstdint.hpp>
[lyx.git] / src / frontends / qt4 / GuiSelection.cpp
index c3e53a542ebfe2b942643d4345bd2f5f0e8c32ba..fef258c326a4dc89434e6991babcde79d2f5f64e 100644 (file)
@@ -39,7 +39,7 @@ GuiSelection::GuiSelection()
 
 void GuiSelection::haveSelection(bool own)
 {
-       if (!qApp->clipboard()->supportsSelection())
+       if (!selection_supported_)
                return;
 
        // Tell qt that we have a selection by setting a dummy selection.
@@ -113,4 +113,4 @@ bool GuiSelection::empty() const
 } // namespace frontend
 } // namespace lyx
 
-#include "GuiSelection_moc.cpp"
+#include "moc_GuiSelection.cpp"