Skip to content

crash after pressing ctrl+meta #3

@Bwaiz0

Description

@Bwaiz0

app starting

starting key listener..
listening

, but after pressing ctrl+meta the following message appears in the console:

key listener stop or reset...
resetKeyPrsd()
showWindow()
create thread for QtApplication
WARNING: QApplication was not created in the main() thread.
key listener: NOW BLOCKING KEY EVENTS BEING SENT TO OTHER APPS, until key badges dismiss
QSettings::value: Empty key passed
QSettings::value: Empty key passed
QWidget subclass init finish
refresh()
Traceback (most recent call last):
File "/home/bwz/downloads/vimouse-master/tgui.py", line 158, in paintEvent
painter.setFont( QFont( 'Arial' , letterH, QFont.Bold) )
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: arguments did not match any overloaded call:
QFont(): too many arguments
QFont(family: str, pointSize: int = -1, weight: int = -1, italic: bool = False): argument 2 has unexpected type 'float'
QFont(a0: QFont, pd: QPaintDevice): argument 1 has unexpected type 'str'
QFont(a0: QFont): argument 1 has unexpected type 'str'
QFont(variant: Any): too many arguments
zsh: IOT instruction (core dumped) python3 main.py

how i can fix it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions