diff --git a/src/frontends/qt4/GuiSelection.cpp b/src/frontends/qt4/GuiSelection.cpp index 362da4aba5..fef258c326 100644 --- a/src/frontends/qt4/GuiSelection.cpp +++ b/src/frontends/qt4/GuiSelection.cpp @@ -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.