diff options
author | Joerg Bornemann <joerg.bornemann@nokia.com> | 2009-08-26 09:25:08 (GMT) |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@nokia.com> | 2009-08-26 09:27:44 (GMT) |
commit | dad83c695e968d7c9fb0be2f4636cf14d34fb8a1 (patch) | |
tree | 4699bdb1a869d6a119e59f17d5217b25e4e504b5 /src/gui/kernel/qwidget.cpp | |
parent | 796d7cc7dd96cea9875afe2e9cf814e8cb192aa1 (diff) | |
download | Qt-dad83c695e968d7c9fb0be2f4636cf14d34fb8a1.zip Qt-dad83c695e968d7c9fb0be2f4636cf14d34fb8a1.tar.gz Qt-dad83c695e968d7c9fb0be2f4636cf14d34fb8a1.tar.bz2 |
fix warnings on Windows CE
Lots of warnings in the qreal == float case.
Some Q_UNUSED added.
Reviewed-by: thartman
Diffstat (limited to 'src/gui/kernel/qwidget.cpp')
-rw-r--r-- | src/gui/kernel/qwidget.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/kernel/qwidget.cpp b/src/gui/kernel/qwidget.cpp index 6ffac2c..7e88e9f 100644 --- a/src/gui/kernel/qwidget.cpp +++ b/src/gui/kernel/qwidget.cpp @@ -971,7 +971,10 @@ struct QWidgetExceptionCleaner /* this cleans up when the constructor throws an exception */ static inline void cleanup(QWidget *that, QWidgetPrivate *d) { -#ifndef QT_NO_EXCEPTIONS +#ifdef QT_NO_EXCEPTIONS + Q_UNUSED(that); + Q_UNUSED(d); +#else QWidgetPrivate::allWidgets->remove(that); if (d->focus_next != that) { if (d->focus_next) |