]>
Commit | Line | Data |
---|---|---|
36557a1e | 1 | =================================================================== |
2 | RCS file: /home2/webcvs/mirror/qt-copy/src/widgets/qlineedit.cpp,v | |
3 | retrieving revision 1.62 | |
4 | retrieving revision 1.63 | |
5 | diff -u -p -r1.62 -r1.63 | |
6 | --- qt-copy/src/widgets/qlineedit.cpp 2003/08/27 14:31:51 1.62 | |
7 | +++ qt-copy/src/widgets/qlineedit.cpp 2003/08/29 07:50:17 1.63 | |
8 | @@ -2401,7 +2401,7 @@ void QLineEditPrivate::setText( const QS | |
9 | text = maskString( 0, txt, TRUE ); | |
10 | text += clearString( text.length(), maxLength - text.length() ); | |
11 | } else { | |
12 | - text = txt.isEmpty() ? QString::fromLatin1( "" ) : txt.left( maxLength ); | |
13 | + text = txt.isEmpty() ? txt : txt.left( maxLength ); | |
14 | } | |
15 | history.clear(); | |
16 | undoState = 0; |