qt: use a static_cast instead of dynamic one
authorMatthew Waters <matthew@centricular.com>
Tue, 23 Feb 2016 12:10:20 +0000 (23:10 +1100)
committerMatthew Waters <matthew@centricular.com>
Wed, 24 Feb 2016 10:20:18 +0000 (21:20 +1100)
commitc086540291d098245133c7781bb88a4622d241e0
tree447ef5b6f2ff5888d115bd48814fea0bd40afdba
parent96ac4af7bfda488a44eb2fe99c48091361e5918f
qt: use a static_cast instead of dynamic one

The dynamic_cast is a little but of overkill as the app will still crash if it
fails in the later g_assert.

Allows compilation with -fno-rtti

https://bugzilla.gnome.org/show_bug.cgi?id=762526
ext/qt/gstqtsink.cc
ext/qt/qtitem.cc