X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt4%2FGuiSelection.h;h=1567b3e697f5f4734e6bcae98fa30542270686d2;hb=425d092204118ea6c24c28e85fdf03fcf2bb51a4;hp=9ab5b1d4fc44baba875bd8f8fc38fd127ef734d8;hpb=221812b6e0524f9982b1cf2269f6db9f9638a80e;p=lyx.git diff --git a/src/frontends/qt4/GuiSelection.h b/src/frontends/qt4/GuiSelection.h index 9ab5b1d4fc..1567b3e697 100644 --- a/src/frontends/qt4/GuiSelection.h +++ b/src/frontends/qt4/GuiSelection.h @@ -44,9 +44,6 @@ private Q_SLOTS: void on_dataChanged(); private: - // Cache which is to speed up selection-status read - // (4 calls when openi Edit menu). - mutable bool text_selection_empty_; // Direct call clipboard()->text(QClipboard::Selection) inside onDataChanged causes // selection to be obtained. Now imagine the some LyX instance A, when making selection - // each change triggers onDataChange in all others instances for each mouse