summaryrefslogtreecommitdiffstats
path: root/src/kernel/qrichtext.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2020-01-30 20:17:32 +0900
committerMichele Calgaro <[email protected]>2020-01-30 23:58:41 +0900
commitce9614515fa863c4a66870f5288e417eceaf9106 (patch)
tree46822e581173d96db101d0c8521fa1730cd09602 /src/kernel/qrichtext.cpp
parentcd2dc5026e152d6cf57895fe4f41cabdf2bb3eca (diff)
downloadtqt3-ce9614515fa863c4a66870f5288e417eceaf9106.tar.gz
tqt3-ce9614515fa863c4a66870f5288e417eceaf9106.zip
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 99e56ba8db70324cc5c7ab416a3b48171613bd59)
Diffstat (limited to 'src/kernel/qrichtext.cpp')
-rw-r--r--src/kernel/qrichtext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/qrichtext.cpp b/src/kernel/qrichtext.cpp
index bc7766814..9d52eea7f 100644
--- a/src/kernel/qrichtext.cpp
+++ b/src/kernel/qrichtext.cpp
@@ -4093,7 +4093,7 @@ TQTextParagraph::~TQTextParagraph()
{
delete str;
if ( hasdoc ) {
- register TQTextDocument *doc = document();
+ TQTextDocument *doc = document();
if ( this == doc->minwParag ) {
doc->minwParag = 0;
doc->minw = 0;