aboutsummaryrefslogtreecommitdiffstats
path: root/src/shared/help/indexwindow.cpp
diff options
context:
space:
mode:
authorOswald Buddenhagen <[email protected]>2009-06-03 20:45:49 +0200
committerOswald Buddenhagen <[email protected]>2009-06-03 20:54:59 +0200
commitd2a8449bea58275723e769cd41c085468cb56295 (patch)
tree7a18311f7fe3bb7a39e9da02175b23cee114965b /src/shared/help/indexwindow.cpp
parent3df7a2c301379e98b0e96664a9180a8f8d666f0b (diff)
ifdef Q_?S_* cleanup
- clear up some Q_OS_LINUX vs. Q_OS_UNIX - clear up Q_WS_* vs. Q_OS_* (relatively theoretical exercise) - use proper #if-#else cascades instead of free-standing #ifs
Diffstat (limited to 'src/shared/help/indexwindow.cpp')
-rw-r--r--src/shared/help/indexwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/help/indexwindow.cpp b/src/shared/help/indexwindow.cpp
index 1b79ed00ae8..8ae9f4e0a93 100644
--- a/src/shared/help/indexwindow.cpp
+++ b/src/shared/help/indexwindow.cpp
@@ -140,7 +140,7 @@ bool IndexWindow::eventFilter(QObject *obj, QEvent *e)
}
}
}
-#ifdef Q_OS_MAC
+#ifdef Q_WS_MAC
else if (obj == m_indexWidget && e->type() == QEvent::KeyPress) {
QKeyEvent *ke = static_cast<QKeyEvent*>(e);
if (ke->key() == Qt::Key_Return || ke->key() == Qt::Key_Enter)