Skip to content

Commit

Permalink
uic/Python: Fix missing QCursor import
Browse files Browse the repository at this point in the history
Fixes: PYSIDE-1182
Change-Id: I1ccc524a152ea75508166f3d2c0c60f8d829cd8f
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
  • Loading branch information
FriedemannKleint committed Jan 14, 2020
1 parent e0be3ab commit 21a1476
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/tools/uic/python/pythonwriteimports.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ QT_BEGIN_NAMESPACE
static const char *standardImports =
R"I(from PySide2.QtCore import (QCoreApplication, QMetaObject, QObject, QPoint,
QRect, QSize, QUrl, Qt)
from PySide2.QtGui import (QBrush, QColor, QConicalGradient, QFont,
from PySide2.QtGui import (QBrush, QColor, QConicalGradient, QCursor, QFont,
QFontDatabase, QIcon, QLinearGradient, QPalette, QPainter, QPixmap,
QRadialGradient)
from PySide2.QtWidgets import *
Expand Down
2 changes: 1 addition & 1 deletion tests/auto/tools/uic/baseline/config.ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@

from PySide2.QtCore import (QCoreApplication, QMetaObject, QObject, QPoint,
QRect, QSize, QUrl, Qt)
from PySide2.QtGui import (QBrush, QColor, QConicalGradient, QFont,
from PySide2.QtGui import (QBrush, QColor, QConicalGradient, QCursor, QFont,
QFontDatabase, QIcon, QLinearGradient, QPalette, QPainter, QPixmap,
QRadialGradient)
from PySide2.QtWidgets import *
Expand Down

0 comments on commit 21a1476

Please sign in to comment.