Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass correct data type to gui.move() #603

Closed
wants to merge 1 commit into from

Conversation

luk1337
Copy link

@luk1337 luk1337 commented Sep 28, 2021

move() function prototype expects two ints rather than floats.

move() function prototype expects two ints rather than floats.
@luk1337
Copy link
Author

luk1337 commented Sep 28, 2021

Noticed the following traceback on F35 /w Python 3.10.0rc2:

Traceback (most recent call last):
  File "/usr/bin/torbrowser-launcher", line 30, in <module>
    torbrowser_launcher.main()
  File "/usr/lib/python3.10/site-packages/torbrowser_launcher/__init__.py", line 92, in main
    gui.move(
TypeError: arguments did not match any overloaded call:
  move(self, QPoint): argument 1 has unexpected type 'float'
@luk1337
Copy link
Author

luk1337 commented Sep 29, 2021

Oh well, didn't notice #599.

@luk1337 luk1337 closed this Sep 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant