summaryrefslogtreecommitdiffstats
path: root/src/kernel/qpainter_x11.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-01-30 20:17:32 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-01-30 23:58:41 +0900
commitce9614515fa863c4a66870f5288e417eceaf9106 (patch)
tree46822e581173d96db101d0c8521fa1730cd09602 /src/kernel/qpainter_x11.cpp
parentcd2dc5026e152d6cf57895fe4f41cabdf2bb3eca (diff)
downloadtqt-ce9614515fa863c4a66870f5288e417eceaf9106.tar.gz
tqt-ce9614515fa863c4a66870f5288e417eceaf9106.zip
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 99e56ba8db70324cc5c7ab416a3b48171613bd59)
Diffstat (limited to 'src/kernel/qpainter_x11.cpp')
-rw-r--r--src/kernel/qpainter_x11.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kernel/qpainter_x11.cpp b/src/kernel/qpainter_x11.cpp
index bcc12af10..61c6929d8 100644
--- a/src/kernel/qpainter_x11.cpp
+++ b/src/kernel/qpainter_x11.cpp
@@ -303,7 +303,7 @@ static void init_gc_array()
static void cleanup_gc_array( Display *dpy )
{
- register TQGC *p = gc_array;
+ TQGC *p = gc_array;
int i = gc_array_size;
if ( gc_array_init ) {
while ( i-- ) {
@@ -328,7 +328,7 @@ static GC alloc_gc( Display *dpy, int scrn, Drawable hd, bool monochrome=FALSE,
XSetGraphicsExposures( dpy, gc, False );
return gc;
}
- register TQGC *p = gc_array;
+ TQGC *p = gc_array;
int i = gc_array_size;
if ( !gc_array_init ) // not initialized
init_gc_array();
@@ -364,7 +364,7 @@ static void free_gc( Display *dpy, GC gc, bool privateGC = FALSE )
XFreeGC( dpy, gc );
return;
}
- register TQGC *p = gc_array;
+ TQGC *p = gc_array;
int i = gc_array_size;
if ( gc_array_init ) {
while ( i-- ) {