title: PySide: Segfault(?) when using QItemSelectionModel with QListView
body: <p>Same exact problem as this: <a href="https://stackoverflow.com/questions/14803315/connecting-qtableview-selectionchanged-signal-produces-segfault-with-pyqt">Connecting QTableView selectionChanged signal produces segfault with PyQt</a></p>
  
  <p>I have a QListView, and I want to call a function when an item is selected:</p>
  
  <pre><code>self.server_list = QtGui.QListView(self.main_widget)
  self.server_list_model = QtGui.QStandardItemModel()
  self.server_list.setModel(self.server_list_model)
  self.server_list.selectionModel().selectionChanged.connect(self.server_changed)
  </code></pre>
  
  <p>But, when it reaches the last line, where I'm using the selection model, the app crashes. Not with a traceback, but with a "appname has stopped working" from Windows. I'm pretty sure that's a segfault.</p>
  
  <p>BUT, when I use PyQt4 it works fine. I'm using PySide because it's LGPL.</p>
  
  <p>Yes, I'm on the latest versions of everything (PySide: 1.2.1, Python 2.7.5, Qt 4.8.5).</p>
  
  <p>Can anyone help me with this?</p>