summaryrefslogtreecommitdiffstats
path: root/examples/desktop
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2020-01-30 20:17:32 +0900
committerSlávek Banko <[email protected]>2021-02-02 00:33:10 +0100
commit7e66c403623bdb20b01ff05ebc5e2dfc30f15b3e (patch)
tree59a3ce045c4768ecdc5ea99da560934619fbb0a9 /examples/desktop
parentd8d67a842b11ba1b0c2ce83d7168670941499dbf (diff)
downloadqt3-7e66c403623bdb20b01ff05ebc5e2dfc30f15b3e.tar.gz
qt3-7e66c403623bdb20b01ff05ebc5e2dfc30f15b3e.zip
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 961eb3f6e276b4a3609328a3076ef790026e9c03)
Diffstat (limited to 'examples/desktop')
-rw-r--r--examples/desktop/desktop.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/desktop/desktop.cpp b/examples/desktop/desktop.cpp
index 2b6fb30..ea4111c 100644
--- a/examples/desktop/desktop.cpp
+++ b/examples/desktop/desktop.cpp
@@ -53,7 +53,7 @@ void poly()
int head = 0;
int tail = -maxcurves + 2;
QPointArray *a = new QPointArray[ maxcurves ];
- register QPointArray *p;
+ QPointArray *p;
QRect r = d->rect(); // desktop rectangle
int i;