summaryrefslogtreecommitdiffstats
path: root/qtsharp/src/bindings/static/QtSupport.cs
diff options
context:
space:
mode:
Diffstat (limited to 'qtsharp/src/bindings/static/QtSupport.cs')
-rw-r--r--qtsharp/src/bindings/static/QtSupport.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/qtsharp/src/bindings/static/QtSupport.cs b/qtsharp/src/bindings/static/QtSupport.cs
index af48d72a..01031446 100644
--- a/qtsharp/src/bindings/static/QtSupport.cs
+++ b/qtsharp/src/bindings/static/QtSupport.cs
@@ -346,7 +346,7 @@ namespace Qt {
if ((ev = (TQEvent)LookupObject (eventinstance)) == null) {
object[] args = new object[] { eventinstance };
BindingFlags bflags = BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public;
- ev = Activator.CreateInstance (evtype, bflags, null, args, null) as QEvent;
+ ev = Activator.CreateInstance (evtype, bflags, null, args, null) as TQEvent;
}
// Notify global event handlers first.