1
0
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:
Michail Vourlakos 2021-03-10 12:39:04 +02:00
parent e5f80a72a5
commit d6bf586ba7

View File

@ -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) {