Commit ebb65fc9 authored by Julius Künzel's avatar Julius Künzel
Browse files

Fix crash if no provider configs are found

parent 33430cdf
Pipeline #51267 canceled with stage
......@@ -177,6 +177,11 @@ void ResourceWidget::slotChangeProvider()
if(m_currentProvider != nullptr) {
if(service_list->currentData().toString().isEmpty()) {
m_currentProvider = &ProvidersRepository::get()->getProvider(service_list->currentData().toString());
provider_info->setText(i18n("Media provided by %1", m_currentProvider->get()->name()));
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