summaryrefslogtreecommitdiff
path: root/examples/draganddrop/delayedencoding/sourcewidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/draganddrop/delayedencoding/sourcewidget.cpp')
-rw-r--r--examples/draganddrop/delayedencoding/sourcewidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/draganddrop/delayedencoding/sourcewidget.cpp b/examples/draganddrop/delayedencoding/sourcewidget.cpp
index 0d399a531c..29ee8d7d86 100644
--- a/examples/draganddrop/delayedencoding/sourcewidget.cpp
+++ b/examples/draganddrop/delayedencoding/sourcewidget.cpp
@@ -102,8 +102,8 @@ void SourceWidget::startDrag()
{
mimeData = new MimeData;
- connect(mimeData, SIGNAL(dataRequested(const QString &)),
- this, SLOT(createData(const QString &)), Qt::DirectConnection);
+ connect(mimeData, SIGNAL(dataRequested(QString)),
+ this, SLOT(createData(QString)), Qt::DirectConnection);
QDrag *drag = new QDrag(this);
drag->setMimeData(mimeData);