mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-10 20:04:46 +00:00
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:
parent
d73f28eec1
commit
2040e10f9d
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user