(self, newPosition)
| 251 | |
| 252 | |
| 253 | def setPlaylistInsertPosition(self, newPosition): |
| 254 | if not self.playlist.isEnabled(): |
| 255 | return |
| 256 | if MainWindow.insertPosition != newPosition: |
| 257 | MainWindow.insertPosition = newPosition |
| 258 | self.playlist.forceUpdate() |
| 259 | |
| 260 | class PlaylistItemDelegate(QtWidgets.QStyledItemDelegate): |
| 261 | def paint(self, itemQPainter, optionQStyleOptionViewItem, indexQModelIndex): |
no test coverage detected