mirror of
https://github.com/KDE/latte-dock.git
synced 2025-03-30 14:50:12 +03:00
fix crash from using Applet Alternatives option
This commit is contained in:
parent
e5f80a72a5
commit
d6bf586ba7
@ -446,6 +446,11 @@ void LayoutManager::save()
|
||||
}
|
||||
|
||||
QObject *applet = appletVariant.value<QObject *>();
|
||||
|
||||
if (!applet) {
|
||||
continue;
|
||||
}
|
||||
|
||||
uint id = applet->property("id").toUInt();
|
||||
|
||||
if (id>0) {
|
||||
@ -466,6 +471,11 @@ void LayoutManager::save()
|
||||
}
|
||||
|
||||
QObject *applet = appletVariant.value<QObject *>();
|
||||
|
||||
if (!applet) {
|
||||
continue;
|
||||
}
|
||||
|
||||
uint id = applet->property("id").toUInt();
|
||||
|
||||
if (id>0) {
|
||||
@ -486,6 +496,11 @@ void LayoutManager::save()
|
||||
}
|
||||
|
||||
QObject *applet = appletVariant.value<QObject *>();
|
||||
|
||||
if (!applet) {
|
||||
continue;
|
||||
}
|
||||
|
||||
uint id = applet->property("id").toUInt();
|
||||
|
||||
if (id>0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user