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

fix warning from ConfigOverlay

This commit is contained in:
Michail Vourlakos 2018-02-15 18:48:00 +02:00
parent 4e4ae54896
commit 0281fc7993

View File

@ -34,7 +34,8 @@ MouseArea {
hoverEnabled: true
cursorShape: {
if (currentApplet && tooltip.visible && (currentApplet.applet.pluginName === "org.kde.latte.spacer")) {
if (currentApplet && tooltip.visible && currentApplet.applet
&& (currentApplet.applet.pluginName === "org.kde.latte.spacer")) {
return root.isHorizontal ? Qt.SizeHorCursor : Qt.SizeVerCursor;
}