aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/qt33/files/patch-qtextedit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/qt33/files/patch-qtextedit.cpp')
-rw-r--r--x11-toolkits/qt33/files/patch-qtextedit.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/x11-toolkits/qt33/files/patch-qtextedit.cpp b/x11-toolkits/qt33/files/patch-qtextedit.cpp
new file mode 100644
index 000000000000..7c22203692de
--- /dev/null
+++ b/x11-toolkits/qt33/files/patch-qtextedit.cpp
@@ -0,0 +1,20 @@
+--- src/widgets/qtextedit.cpp.orig Mon Feb 24 09:30:37 2003
++++ src/widgets/qtextedit.cpp Mon May 12 19:50:19 2003
+@@ -1863,7 +1863,7 @@
+ }
+ setModified();
+ emit textChanged();
+- emit selectionChanged();
++ emit copyAvailable( doc->hasSelection( QTextDocument::Standard ) );
+ }
+
+ /*!
+@@ -4801,7 +4801,7 @@
+ return;
+ if ( doc->hasSelection( QTextDocument::Standard ) )
+ removeSelectedText();
+- if ( !m->provides( st.data() ) )
++ if ( !QRichTextDrag::canDecode( m ) )
+ return;
+ QString t;
+ if ( !QRichTextDrag::decode( m, t, st.data(), subtype ) )