Commit 7596e07d authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Qt4: make sure the running VLC has a module implementing the protocol

This avoids "*-caching variable does not exist" errors
parent 3ae0e266
......@@ -560,7 +560,7 @@ void NetOpenPanel::updateMRL()
const struct caching_map *r = (const struct caching_map *)
bsearch( qtu(proto), schemes, sizeof(schemes) / sizeof(schemes[0]),
sizeof(schemes[0]), strcmp_void );
if( r != NULL )
if( r != NULL && module_exists( r->caching ) )
emit methodChanged( qfu( r->caching ) + qfu( "-caching" ) );
QStringList qsl;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment