diff --git a/extenders/extenderitem.cpp b/extenders/extenderitem.cpp index 117a13857..1e0ffe932 100644 --- a/extenders/extenderitem.cpp +++ b/extenders/extenderitem.cpp @@ -805,7 +805,9 @@ void ExtenderItemPrivate::updateToolBox() if (!closeAction) { closeAction = new QAction(q); actions.insert("close", closeAction); - returnToSourceAction->setToolTip(i18n("Close")); + if (returnToSourceAction) { + returnToSourceAction->setToolTip(i18n("Close")); + } QObject::connect(closeAction, SIGNAL(triggered()), q, SLOT(destroy())); }