Commit b3d552bd authored by Dan Pascu's avatar Dan Pascu

Fixed default argument to be immutable

parent 46e76765
......@@ -4063,7 +4063,7 @@ class ContactURIItem(object):
class URITypeComboBox(QComboBox):
builtin_types = (None, "Mobile", "Home", "Work", "SIP", "XMPP", "Other")
def __init__(self, parent=None, types=[]):
def __init__(self, parent=None, types=()):
super(URITypeComboBox, self).__init__(parent)
self.setEditable(True)
self.addItems(self.builtin_types)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment