pyqt: tiny cleanup