Remove obsolete check in QMediaService
The macro QT_NO_MEMBER_TEMPLATES was removed eons ago. Change-Id: Ifc4f3ac8bcf1e9b42fad5dcfb101e3446a254abc Reviewed-by: Yoann Lopes <yoann.lopes@theqtcompany.com>
This commit is contained in:
committed by
Christian Stromme
parent
b05e9d99c2
commit
dc1712d4b2
@@ -53,7 +53,6 @@ public:
|
||||
|
||||
virtual QMediaControl* requestControl(const char *name) = 0;
|
||||
|
||||
#ifndef QT_NO_MEMBER_TEMPLATES
|
||||
template <typename T> inline T requestControl() {
|
||||
if (QMediaControl *control = requestControl(qmediacontrol_iid<T>())) {
|
||||
if (T typedControl = qobject_cast<T>(control))
|
||||
@@ -62,7 +61,6 @@ public:
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
virtual void releaseControl(QMediaControl *control) = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user