summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qapplication_s60.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/kernel/qapplication_s60.cpp')
-rw-r--r--src/gui/kernel/qapplication_s60.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/gui/kernel/qapplication_s60.cpp b/src/gui/kernel/qapplication_s60.cpp
index 6ee7899..0ae4c00 100644
--- a/src/gui/kernel/qapplication_s60.cpp
+++ b/src/gui/kernel/qapplication_s60.cpp
@@ -1,5 +1,5 @@
/****************************************************************************
-1**
+**
** Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies).
** Contact: Qt Software Information (qt-info@nokia.com)
**
@@ -1067,9 +1067,7 @@ void QApplication::symbianHandleCommand(int command)
int index= command-SOFTKEYSTART;
QWidget* focused = QApplication::focusWidget();
const QList<QAction*>& softKeys = focused->softKeys();
- if (index>=softKeys.count()) {
- // Assert horrible state error
- }
+ Q_ASSERT(index<softKeys.count());
softKeys.at(index)->activate(QAction::Trigger);
}
else