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)
commit6c6a9cf509471d5f1f2947950a9a92b16b5492d2
treeab0087bda3f1a0ff1e56b160b3b3976c6ba7b61d
parent472b396528e64caf33788a555a5628a4ae1c8423
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