summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qwidget_p.h
diff options
context:
space:
mode:
authorJanne Anttila <janne.anttila@digia.com>2010-02-26 08:14:53 (GMT)
committerJanne Anttila <janne.anttila@digia.com>2010-02-26 08:17:49 (GMT)
commit53e7dda038e9251ca7380d3717709764c580192e (patch)
tree890153e559ad2ac7a46d98080bbbcb4f55650fa6 /src/gui/kernel/qwidget_p.h
parent481fa3dd80d046779d4464fc50a8ad250ef9771c (diff)
downloadQt-53e7dda038e9251ca7380d3717709764c580192e.zip
Qt-53e7dda038e9251ca7380d3717709764c580192e.tar.gz
Qt-53e7dda038e9251ca7380d3717709764c580192e.tar.bz2
Build break fix for commit d8465414e6fd543cfc20e732030dedd8d2bc685f.
RVCT does not like static inline, and variables should not be defined in case statement without braces. In this case the temp variable was actually unnecessary. Reviewed-By: TrustMe
Diffstat (limited to 'src/gui/kernel/qwidget_p.h')
-rw-r--r--src/gui/kernel/qwidget_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/kernel/qwidget_p.h b/src/gui/kernel/qwidget_p.h
index 1cb6072..1bbc057 100644
--- a/src/gui/kernel/qwidget_p.h
+++ b/src/gui/kernel/qwidget_p.h
@@ -472,8 +472,8 @@ public:
#ifdef QT_KEYPAD_NAVIGATION
static bool navigateToDirection(Direction direction);
static QWidget *widgetInNavigationDirection(Direction direction);
- static inline bool canKeypadNavigate(Qt::Orientation orientation);
- static inline bool inTabWidget(QWidget *widget);
+ static bool canKeypadNavigate(Qt::Orientation orientation);
+ static bool inTabWidget(QWidget *widget);
#endif
void setWindowIconText_sys(const QString &cap);