Removed QVariant from PySide.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
This commit is contained in:
parent
d8a192b5e1
commit
1b6337d8b4
18 changed files with 170 additions and 601 deletions
|
|
@ -4,7 +4,7 @@ import unittest
|
|||
|
||||
from sys import getrefcount
|
||||
from helper import UsesQApplication
|
||||
from PySide.QtCore import QAbstractTableModel, QVariant
|
||||
from PySide.QtCore import *
|
||||
from PySide.QtGui import QTableView
|
||||
|
||||
class TestModel(QAbstractTableModel):
|
||||
|
|
@ -15,7 +15,7 @@ class TestModel(QAbstractTableModel):
|
|||
def columnCount(self, parent):
|
||||
return 0
|
||||
def data(self, index, role):
|
||||
return QVariant()
|
||||
return None
|
||||
|
||||
class KeepReferenceTest(UsesQApplication):
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue