Verified Commit f05cf103 authored by ivan tkachenko's avatar ivan tkachenko
Browse files

CompactApplet: Remove useless condition

The only way when an Item typed property would be false in boolean
context is when it is null anyway.
parent 593ffd40
......@@ -201,7 +201,7 @@ PlasmaCore.ToolTipArea {
objectName: "popupWindow"
flags: Qt.WindowStaysOnTopHint
visible: Plasmoid.expanded && fullRepresentation
visualParent: compactRepresentation ? compactRepresentation : null
visualParent: root.compactRepresentation
location: Plasmoid.location
hideOnWindowDeactivate: Plasmoid.hideOnWindowDeactivate
backgroundHints: (Plasmoid.containmentDisplayHints & PlasmaCore.Types.DesktopFullyCovered) ? PlasmaCore.Dialog.SolidBackground : PlasmaCore.Dialog.StandardBackground
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment