diff options
author | Aaron McCarthy <aaron.mccarthy@nokia.com> | 2010-04-16 03:55:39 (GMT) |
---|---|---|
committer | Aaron McCarthy <aaron.mccarthy@nokia.com> | 2010-04-16 03:59:58 (GMT) |
commit | 2913a71672a6cbe3022e167cf9d318beb2f29ee3 (patch) | |
tree | a3fd610bd8ea569b69871edbca8d8eed86b561dc /src/gui/kernel | |
parent | ac0fc4e9b0ed314e7d49e8dc0e9ded0922aab8e9 (diff) | |
download | Qt-2913a71672a6cbe3022e167cf9d318beb2f29ee3.zip Qt-2913a71672a6cbe3022e167cf9d318beb2f29ee3.tar.gz Qt-2913a71672a6cbe3022e167cf9d318beb2f29ee3.tar.bz2 |
Fix building of corelib, network and gui with qconfig minimal.
The bearer management code, which this bug is for, was fixed by MR 517
previously.
Task-number: QTBUG-9493
Reviewed-by: alex
Diffstat (limited to 'src/gui/kernel')
-rw-r--r-- | src/gui/kernel/qapplication.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/kernel/qapplication.cpp b/src/gui/kernel/qapplication.cpp index 813cb95..62e99e9 100644 --- a/src/gui/kernel/qapplication.cpp +++ b/src/gui/kernel/qapplication.cpp @@ -186,9 +186,11 @@ QApplicationPrivate::QApplicationPrivate(int &argc, char **argv, QApplication::T gestureManager = 0; gestureWidget = 0; +#if defined(Q_WS_X11) || defined(Q_WS_WIN) move_cursor = 0; copy_cursor = 0; link_cursor = 0; +#endif #if defined(Q_WS_WIN) ignore_cursor = 0; #endif @@ -1043,9 +1045,11 @@ QApplication::~QApplication() qt_clipboard = 0; #endif +#if defined(Q_WS_X11) || defined(Q_WS_WIN) delete d->move_cursor; d->move_cursor = 0; delete d->copy_cursor; d->copy_cursor = 0; delete d->link_cursor; d->link_cursor = 0; +#endif #if defined(Q_WS_WIN) delete d->ignore_cursor; d->ignore_cursor = 0; #endif |