mirror of
https://github.com/KDE/latte-dock.git
synced 2025-01-11 13:18:13 +03:00
fix crash from quit of configuration window
This commit is contained in:
parent
099f407017
commit
b2b4517ba8
@ -835,6 +835,10 @@ void DockView::themeChanged()
|
||||
//! check if the tasks plasmoid exist in the dock
|
||||
bool DockView::tasksPresent()
|
||||
{
|
||||
if (!this->containment()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
foreach (Plasma::Applet *applet, this->containment()->applets()) {
|
||||
KPluginMetaData meta = applet->kPackage().metadata();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user