@@ -167,7 +167,7 @@ Item {
167167 root .xPos = Math .max (0 , Math .min (win .screen .width - root .currentWidth , root .xPos ))
168168 root .yPos = Math .max (0 , Math .min (win .screen .height - root .currentHeight , root .yPos ))
169169 }
170- onEntered: TooltipService .show (parent, root .isSquare ? ( root .pluginApi ? .tr (" tooltips.switchToWide" ) || " Switch to Wide " ) : ( root .pluginApi ? .tr (" tooltips.switchToSquare" ) || " Switch to Square " ))
170+ onEntered: TooltipService .show (parent, root .isSquare ? root .pluginApi ? .tr (" tooltips.switchToWide" ) : root .pluginApi ? .tr (" tooltips.switchToSquare" ))
171171 onExited: TooltipService .hide ()
172172 }
173173 }
@@ -179,7 +179,7 @@ Item {
179179 id: flipHover
180180 anchors .fill : parent; cursorShape: Qt .PointingHandCursor ; hoverEnabled: true
181181 onClicked: root .isFlipped = ! root .isFlipped
182- onEntered: TooltipService .show (parent, root .isFlipped ? ( root .pluginApi ? .tr (" tooltips.unflipCamera" ) || " Unflip " ) : ( root .pluginApi ? .tr (" tooltips.flipCamera" ) || " Flip " ))
182+ onEntered: TooltipService .show (parent, root .isFlipped ? root .pluginApi ? .tr (" tooltips.unflipCamera" ) : root .pluginApi ? .tr (" tooltips.flipCamera" ))
183183 onExited: TooltipService .hide ()
184184 }
185185 }
@@ -192,7 +192,7 @@ Item {
192192 id: camHover
193193 anchors .fill : parent; cursorShape: Qt .PointingHandCursor ; hoverEnabled: true
194194 onClicked: root .cameraIndex = (root .cameraIndex + 1 ) % mediaDevices .videoInputs .length
195- onEntered: TooltipService .show (parent, root .pluginApi ? .tr (" tooltips.switchCamera" ) || " Switch Camera " )
195+ onEntered: TooltipService .show (parent, root .pluginApi ? .tr (" tooltips.switchCamera" ))
196196 onExited: TooltipService .hide ()
197197 }
198198 }
@@ -204,7 +204,7 @@ Item {
204204 id: closeHover; anchors .fill : parent
205205 hoverEnabled: true ; cursorShape: Qt .PointingHandCursor
206206 onClicked: root .hide ()
207- onEntered: TooltipService .show (parent, root .pluginApi ? .tr (" pin.close" ) || " Close " )
207+ onEntered: TooltipService .show (parent, root .pluginApi ? .tr (" pin.close" ))
208208 onExited: TooltipService .hide ()
209209 }
210210 }
@@ -269,3 +269,4 @@ Item {
269269 }
270270 }
271271}
272+
0 commit comments