[pyzo] 57/68: Dont forget Pyside

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Wed Sep 28 09:47:15 UTC 2016


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch debian/master
in repository pyzo.

commit 2825ab6cc84953ac11efd8529b1a46efe27f430c
Author: Almar Klein <almar.klein at gmail.com>
Date:   Mon Sep 26 12:48:57 2016 +0200

    Dont forget Pyside
---
 pyzo/util/qt/QtCore.py | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/pyzo/util/qt/QtCore.py b/pyzo/util/qt/QtCore.py
index c9301a6..afda955 100644
--- a/pyzo/util/qt/QtCore.py
+++ b/pyzo/util/qt/QtCore.py
@@ -32,16 +32,17 @@ elif PYQT4:
     from PyQt4.QtCore import pyqtSlot as Slot
     from PyQt4.QtCore import pyqtProperty as Property
     from PyQt4.QtGui import (QItemSelection, QItemSelectionModel,
-                             QItemSelectionRange, QSortFilterProxyModel)
+                             QItemSelectionRange, QSortFilterProxyModel,
+                             QStringListModel)
     from PyQt4.QtCore import QT_VERSION_STR as __version__
-    from PyQt4.QtGui import QStringListModel
-
+    
     # Those are imported from `import *`
     del pyqtSignal, pyqtSlot, pyqtProperty, QT_VERSION_STR
 elif PYSIDE:
     from PySide.QtCore import *
     from PySide.QtGui import (QItemSelection, QItemSelectionModel,
-                              QItemSelectionRange, QSortFilterProxyModel)
+                              QItemSelectionRange, QSortFilterProxyModel,
+                              QStringListModel)
     import PySide.QtCore
     __version__ = PySide.QtCore.__version__
 else:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pyzo.git



More information about the debian-science-commits mailing list