equal
deleted
inserted
replaced
216 { |
216 { |
217 const bool toNative = !current->isNative(); |
217 const bool toNative = !current->isNative(); |
218 if (toNative && m_noNativeRendererSupported) |
218 if (toNative && m_noNativeRendererSupported) |
219 return current; //no switch here |
219 return current; //no switch here |
220 |
220 |
|
221 if (!mediaObject()) |
|
222 return current; |
|
223 |
221 //firt we delete the renderer |
224 //firt we delete the renderer |
222 //initialization of the widgets |
225 //initialization of the widgets |
223 for(int i = 0; i < FILTER_COUNT; ++i) { |
226 for(int i = 0; i < FILTER_COUNT; ++i) { |
224 Filter oldFilter = m_filters[i]; |
227 Filter oldFilter = m_filters[i]; |
225 |
228 |