From: Pavel Sanda Date: Tue, 29 Jul 2008 00:34:15 +0000 (+0000) Subject: change debugs. X-Git-Tag: 1.6.10~3840 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=5209aad8dee6229100e5f515d1a41f56d7827dfa;p=lyx.git change debugs. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25948 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/frontends/qt4/GuiSelection.cpp b/src/frontends/qt4/GuiSelection.cpp index 30738cf30e..8b8ff85836 100644 --- a/src/frontends/qt4/GuiSelection.cpp +++ b/src/frontends/qt4/GuiSelection.cpp @@ -91,9 +91,9 @@ void GuiSelection::put(docstring const & str) void GuiSelection::on_dataChanged() { - LYXERR(Debug::SELECTION, "GuiSelection::on_dataChanged::empty: " << text_selection_empty_); text_selection_empty_ = qApp->clipboard()-> text(QClipboard::Selection).isEmpty(); + LYXERR(Debug::SELECTION, "GuiSelection::on_dataChanged::filled: " << !text_selection_empty_); } @@ -102,7 +102,7 @@ bool GuiSelection::empty() const if (!selection_supported_) return true; - LYXERR(Debug::SELECTION, "GuiSelection::empty: " << text_selection_empty_); + LYXERR(Debug::SELECTION, "GuiSelection::filled: " << text_selection_empty_); return text_selection_empty_; }