Commit c37913c5 authored by Fabian Vogt's avatar Fabian Vogt

Fix crash on ExternalApp modules

CCMAIL: notmart@gmail.com
parent a079df6a
......@@ -220,7 +220,7 @@ void ModuleView::updatePageIconHeader( KPageWidgetItem * page, bool light )
page->setHeader( moduleInfo->comment() );
page->setIcon( QIcon::fromTheme( moduleInfo->icon() ) );
//HACK: not much other ways to detect is a qml kcm
if (moduleProxy->realModule()->inherits("KCModuleQml")) {
if ( moduleProxy && moduleProxy->realModule()->inherits("KCModuleQml") ) {
page->setHeaderVisible(false);
}
if( light ) {
......
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