summaryrefslogtreecommitdiffstats
path: root/src/declarative/items/qsgtextedit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/items/qsgtextedit.cpp')
-rw-r--r--src/declarative/items/qsgtextedit.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/declarative/items/qsgtextedit.cpp b/src/declarative/items/qsgtextedit.cpp
index 90ccddcbfb..57f9135917 100644
--- a/src/declarative/items/qsgtextedit.cpp
+++ b/src/declarative/items/qsgtextedit.cpp
@@ -1,4 +1,4 @@
-// Commit: 82ae515e52e3811d3b2aec588e0dd777350c1c33
+// Commit: 6980bca15b411f86b9fadb7484a6dd782b9d1403
/****************************************************************************
**
** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
@@ -990,6 +990,7 @@ void QSGTextEditPrivate::init()
#ifndef QT_NO_CLIPBOARD
QObject::connect(q, SIGNAL(readOnlyChanged(bool)), q, SLOT(q_canPasteChanged()));
QObject::connect(QApplication::clipboard(), SIGNAL(dataChanged()), q, SLOT(q_canPasteChanged()));
+ canPaste = control->canPaste();
#endif
document = control->document();