]> 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 362da4aba54d1c9c074c19ca974aa6fd3fdc3721..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.