aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/tests/QtGui/bug_716.py
diff options
context:
space:
mode:
authorJulien Schueller <schueller@phimeca.com>2018-03-03 16:51:10 +0100
committerCristian Maureira-Fredes <cristian.maureira-fredes@qt.io>2018-05-29 08:33:43 +0000
commitf73dd54372d55fb9b3796e3c76af434cb96b5609 (patch)
treed4429ccf415c091987c35d3180682c5e18371c28 /sources/pyside2/tests/QtGui/bug_716.py
parentcee769a1939669505caf4df5d97efda59a8cc00a (diff)
Move QStringListModel to QtCore
Seems this was in QtGui at the time of Qt 4, but now it's in QtCore: http://doc.qt.io/archives/qt-4.8/qstringlistmodel.html http://doc.qt.io/qt-5/qstringlistmodel-members.html Task-number: PYSIDE-614 Change-Id: I918cbffd64fb8da9e81123073ff57cd2126e5cae Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> (cherry picked from commit 4036ab8c066fd3a6dbce9eb92f4e50f40b8679e4)
Diffstat (limited to 'sources/pyside2/tests/QtGui/bug_716.py')
-rw-r--r--sources/pyside2/tests/QtGui/bug_716.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/sources/pyside2/tests/QtGui/bug_716.py b/sources/pyside2/tests/QtGui/bug_716.py
index 49a329bc2..8bf07d6e2 100644
--- a/sources/pyside2/tests/QtGui/bug_716.py
+++ b/sources/pyside2/tests/QtGui/bug_716.py
@@ -26,8 +26,7 @@
##
#############################################################################
-from PySide2.QtCore import Qt, QPersistentModelIndex
-from PySide2.QtGui import QStringListModel
+from PySide2.QtCore import Qt, QPersistentModelIndex, QStringListModel
if __name__ == '__main__':
stringListModel = QStringListModel(['one', 'two'])