Compact two identical conditions
This commit is contained in:
parent
399e61901f
commit
b5dc457570
@ -272,6 +272,7 @@ void AppletQuickItemPrivate::compactRepresentationCheck()
|
||||
//unwire with the expander
|
||||
if (compactRepresentationExpanderItem) {
|
||||
compactRepresentationExpanderItem.data()->setProperty("fullRepresentation", QVariant());
|
||||
compactRepresentationExpanderItem.data()->setProperty("compactRepresentation", QVariant());
|
||||
compactRepresentationExpanderItem.data()->setProperty("visible", false);
|
||||
}
|
||||
|
||||
@ -287,11 +288,6 @@ void AppletQuickItemPrivate::compactRepresentationCheck()
|
||||
compactRepresentationItem.data()->setProperty("visible", false);
|
||||
}
|
||||
|
||||
if (compactRepresentationExpanderItem) {
|
||||
compactRepresentationExpanderItem.data()->setProperty("compactRepresentation", QVariant());
|
||||
compactRepresentationExpanderItem.data()->setProperty("fullRepresentation", QVariant());
|
||||
}
|
||||
|
||||
currentRepresentationItem = item;
|
||||
connectLayoutAttached(item);
|
||||
expanded = true;
|
||||
|
Loading…
Reference in New Issue
Block a user