Skip to content

Commit

Permalink
Merge pull request #299 from stonebig/patch-17
Browse files Browse the repository at this point in the history
'width' need for PyQt6
  • Loading branch information
dalthviz authored Dec 13, 2021
2 parents a37320d + f434884 commit 72dafc0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions qtpy/QtGui.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
if PYQT6:
from PyQt6 import QtGui
from PyQt6.QtGui import *
QFontMetrics.width = QFontMetrics.horizontalAdvance

# Map missing/renamed methods
QDrag.exec_ = QDrag.exec
Expand Down

0 comments on commit 72dafc0

Please sign in to comment.