1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-03-18 18:50:46 +03:00

fix warning check

This commit is contained in:
Michail Vourlakos 2017-05-19 17:34:44 +03:00
parent afe0dd7514
commit 28b777dd15

@ -56,7 +56,7 @@ DragDrop.DropArea {
property bool autoDecreaseIconSize: plasmoid.configuration.autoDecreaseIconSize
property bool backgroundOnlyOnMaximized: plasmoid.configuration.backgroundOnlyOnMaximized
property bool behaveAsPlasmaPanel: {
if (!dock || dock.visibility)
if (!dock || !dock.visibility)
return false;
return (visibilityManager.panelIsBiggerFromIconSize && (zoomFactor === 1.0)