diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-03-09 18:58:02 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-03-22 21:28:42 +0900 |
commit | 3723148aa321530969ae4dd7472c461b94b5405e (patch) | |
tree | e5d11a855ae5ab9b409ce5f478b3a78d310f39f5 /lib/kotext/KoTextObject.cpp | |
parent | e220a1b2b9fa4c97bbcaabf51cd259e62edd3ab3 (diff) | |
download | koffice-3723148aa321530969ae4dd7472c461b94b5405e.tar.gz koffice-3723148aa321530969ae4dd7472c461b94b5405e.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 7a7827396f90ad06945cd5a367f93d8ffd380e0f)
Diffstat (limited to 'lib/kotext/KoTextObject.cpp')
-rw-r--r-- | lib/kotext/KoTextObject.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/kotext/KoTextObject.cpp b/lib/kotext/KoTextObject.cpp index 01eea0fa..7c9518ea 100644 --- a/lib/kotext/KoTextObject.cpp +++ b/lib/kotext/KoTextObject.cpp @@ -315,8 +315,9 @@ void KoTextObject::UndoRedoInfo::clear() } } type = Invalid; - // Before TQt-3.2.0, this called KoTextString::clear(), which called resize(0) on the array, which _detached_. Tricky. - // Since TQt-3.2.0, resize(0) doesn't detach anymore -> KoTextDocDeleteCommand calls copy() itself. + // Before Qt-3.2.0, this called KoTextString::clear(), which called resize(0) on the array, which _detached_. Tricky. + // Since Qt-3.2.0, resize(0) doesn't detach anymore -> KoTextDocDeleteCommand calls copy() itself. + text = TQString(); id = -1; index = -1; |