Skip to content

Commit

Permalink
qtplasmac: remove redundant parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
phillc54 committed Jan 1, 2022
1 parent 45ea1f9 commit bd22bc1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/python/qtvcp/lib/qtplasmac/set_offsets.py
Expand Up @@ -50,7 +50,7 @@ def dialog_show(P, W, iniPath, STATUS, ACTION, TOOL, foreColor, backColor):
if get_reply(P, STATUS, P.laserOffsetX, P.laserOffsetY):
P.laserOffsetX = round(STATUS.get_position()[1][0], 4) + 0
P.laserOffsetY = round(STATUS.get_position()[1][1], 4) + 0
do_ini_file(P, W, iniPath, P.laserOffsetX, P.laserOffsetY, None, 'LASER_TOUCHOFF', '# laser touchoff')
do_ini_file(P, W, iniPath, P.laserOffsetX, P.laserOffsetY, '', 'LASER_TOUCHOFF', '# laser touchoff')
if P.laserOffsetX or P.laserOffsetY:
W.laser.show()
else:
Expand All @@ -59,7 +59,7 @@ def dialog_show(P, W, iniPath, STATUS, ACTION, TOOL, foreColor, backColor):
if get_reply(P, STATUS, P.camOffsetX, P.camOffsetY):
P.camOffsetX = round(STATUS.get_position()[1][0], 4) + 0
P.camOffsetY = round(STATUS.get_position()[1][1], 4) + 0
do_ini_file(P, W, iniPath, P.camOffsetX, P.camOffsetY, None, 'CAMERA_TOUCHOFF', '# camera touchoff')
do_ini_file(P, W, iniPath, P.camOffsetX, P.camOffsetY, '', 'CAMERA_TOUCHOFF', '# camera touchoff')
if P.camOffsetX or P.camOffsetY:
W.camera.show()
else:
Expand Down
2 changes: 1 addition & 1 deletion share/qtvcp/screens/qtplasmac/qtplasmac_handler.py
@@ -1,4 +1,4 @@
VERSION = '1.221.148'
VERSION = '1.221.149'

'''
qtplasmac_handler.py
Expand Down
5 changes: 5 additions & 0 deletions share/qtvcp/screens/qtplasmac/versions.html
Expand Up @@ -31,6 +31,11 @@ <h2>QtPlasmaC Version History</h2>
<br>
<!--- ****** ADD NEXT VERSION BELOW THIS LINE ****** --->

<br><b><u>v1.220.149 2022 Jan 01</u></b>
<ul style="margin:0;">
<li>remove redundant parameter</li>
</ul>

<br><b><u>v1.220.148 2022 Jan 01</u></b>
<ul style="margin:0;">
<li>add toggle laser to user buttons</li>
Expand Down

0 comments on commit bd22bc1

Please sign in to comment.