use QClipboard::selectionChanged() signal instead of QClipboard::dataChanged().

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22102 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2007-12-12 18:46:16 +00:00
parent d73f28eec1
commit 2040e10f9d

View File

@ -34,7 +34,7 @@ using support::externalLineEnding;
GuiSelection::GuiSelection()
: selection_supported_(qApp->clipboard()->supportsSelection())
{
connect(qApp->clipboard(), SIGNAL(dataChanged()),
connect(qApp->clipboard(), SIGNAL(selectionChanged()),
this, SLOT(on_dataChanged()));
// initialize clipboard status.
on_dataChanged();