summaryrefslogtreecommitdiffstats
path: root/profile.c
diff options
context:
space:
mode:
Diffstat (limited to 'profile.c')
-rw-r--r--profile.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/profile.c b/profile.c
index 4f451a377..3e6820443 100644
--- a/profile.c
+++ b/profile.c
@@ -99,7 +99,8 @@ struct ev_select *ev_namelist;
int evn_allocated;
int evn_used;
-int evn_foreach(void (*callback)(const char *, int *, void *), void *data)
+#if WE_DONT_USE_THIS /* we need to implement event filters in Qt */
+int evn_foreach(void (*callback)(const char *, bool *, void *), void *data)
{
int i;
@@ -109,6 +110,7 @@ int evn_foreach(void (*callback)(const char *, int *, void *), void *data)
}
return i;
}
+#endif /* WE_DONT_USE_THIS */
void clear_events(void)
{