]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiSelection.cpp
Complete the removal of the embedding stuff. Maybe. It's hard to be sure we got every...
[lyx.git] / src / frontends / qt4 / GuiSelection.cpp
index d12ee008294d97bcbcef3e1c18097ec3e18f649e..23878b32328f49b90117ff6f03b8de9753945cab 100644 (file)
@@ -15,8 +15,8 @@
 #include "GuiSelection.h"
 
 #include "qt_helpers.h"
-#include "support/debug.h"
 
+#include "support/debug.h"
 #include "support/lstrings.h"
 
 #include <QApplication>
@@ -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();