2d04ae4
--- qt-x11-free-3.3.8/src/widgets/qtextedit.cpp.im	2007-03-19 10:19:10.000000000 +0100
2d04ae4
+++ qt-x11-free-3.3.8/src/widgets/qtextedit.cpp	2007-03-19 10:19:47.000000000 +0100
2d04ae4
@@ -5059,6 +5059,10 @@
2d04ae4
 
2d04ae4
 void QTextEdit::setDocument( QTextDocument *dc )
2d04ae4
 {
2d04ae4
+    if ( dc == 0 ) {
2d04ae4
+        qWarning( "Q3TextEdit::setDocument() called with null Q3TextDocument pointer" );
2d04ae4
+        return;
2d04ae4
+    }
2d04ae4
     if ( dc == doc )
2d04ae4
 	return;
2d04ae4
     resetInputContext();
2d04ae4
--- qt-x11-free-3.3.8/src/widgets/qlineedit.cpp.im	2007-03-19 10:20:03.000000000 +0100
2d04ae4
+++ qt-x11-free-3.3.8/src/widgets/qlineedit.cpp	2007-03-19 10:22:11.000000000 +0100
2d04ae4
@@ -457,10 +457,10 @@
2d04ae4
     \property QLineEdit::text
2d04ae4
     \brief the line edit's text
2d04ae4
 
2d04ae4
-    Setting this property clears the selection, clears the undo/redo
2d04ae4
-    history, moves the cursor to the end of the line and resets the
2d04ae4
-    \c modified property to FALSE. The text is not validated when
2d04ae4
-    inserted with setText().
2d04ae4
+    Note that setting this property clears the selection, clears the
2d04ae4
+    undo/redo history, moves the cursor to the end of the line and
2d04ae4
+    resets the \c modified property to FALSE. The text is not
2d04ae4
+    validated when inserted with setText().
2d04ae4
 
2d04ae4
     The text is truncated to maxLength() length.
2d04ae4
 
2d04ae4
@@ -1014,6 +1014,9 @@
2d04ae4
 /*!
2d04ae4
     Selects text from position \a start and for \a length characters.
2d04ae4
 
2d04ae4
+    Note that this function sets the cursor's position to the end of
2d04ae4
+    the selection regardless of its current position.
2d04ae4
+
2d04ae4
     \sa deselect() selectAll() getSelection() cursorForward() cursorBackward()
2d04ae4
 */
2d04ae4