examples
examples copied to clipboard
Update main.py
Line 2, removed QAction import. Its already imported in QtWidgets
I appreciate the PR; But I'm not sure that's the case. At least on Linux (PyQt6 6.3.1):
>>> from PyQt6.QtWidgets import *
>>> QAction
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'QAction' is not defined
>>> from PyQt6.QtGui import *
>>> QAction
<class 'PyQt6.QtGui.QAction'>