[rkward-cvs] SF.net SVN: rkward: [901] trunk/rkward/rkward/windows/rkcommandeditorwindow .cpp
tfry at users.sourceforge.net
tfry at users.sourceforge.net
Mon Oct 30 12:32:29 UTC 2006
Revision: 901
http://svn.sourceforge.net/rkward/?rev=901&view=rev
Author: tfry
Date: 2006-10-30 04:32:25 -0800 (Mon, 30 Oct 2006)
Log Message:
-----------
small cleanups
Modified Paths:
--------------
trunk/rkward/rkward/windows/rkcommandeditorwindow.cpp
Modified: trunk/rkward/rkward/windows/rkcommandeditorwindow.cpp
===================================================================
--- trunk/rkward/rkward/windows/rkcommandeditorwindow.cpp 2006-10-30 12:29:26 UTC (rev 900)
+++ trunk/rkward/rkward/windows/rkcommandeditorwindow.cpp 2006-10-30 12:32:25 UTC (rev 901)
@@ -398,9 +398,8 @@
}
bool RKFunctionArgHinter::eventFilter (QObject *, QEvent *e) {
- RK_TRACE (COMMANDEDITOR);
-
if (e->type () == QEvent::KeyPress || e->type () == QEvent::AccelOverride) {
+ RK_TRACE (COMMANDEDITOR); // avoid loads of empty traces, putting this here
QKeyEvent *k = static_cast<QKeyEvent *> (e);
if (k->key() == Qt::Key_Enter || k->key() == Qt::Key_Return || k->key () == Qt::Key_Up || k->key () == Qt::Key_Down || k->key () == Qt::Key_Left || k->key () == Qt::Key_Right || k->key () == Qt::Key_Home || k->key () == Qt::Key_Tab) {
@@ -417,7 +416,7 @@
}
}
- return FALSE;
+ return false;
}
#include "rkcommandeditorwindow.moc"
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the rkward-tracker
mailing list