]> git.lyx.org Git - features.git/commitdiff
use QClipboard::selectionChanged() signal instead of QClipboard::dataChanged().
authorAbdelrazak Younes <younes@lyx.org>
Wed, 12 Dec 2007 18:46:16 +0000 (18:46 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Wed, 12 Dec 2007 18:46:16 +0000 (18:46 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22102 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiSelection.cpp

index d12ee008294d97bcbcef3e1c18097ec3e18f649e..21c58bf3234bd37d40f9f5eb022a0e874949858a 100644 (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();