Commit ebbdcd47 authored by Dan Pascu's avatar Dan Pascu

Prevent the dragged audio session widget's content from overflowing

parent 642abb97
......@@ -2496,7 +2496,7 @@ class AudioSessionListView(QListView):
pixmap = QPixmap(rect.size())
pixmap.fill(Qt.transparent)
widget = DraggedAudioSessionWidget(self.dragged_session.widget, None)
widget.resize(rect.size())
widget.setFixedSize(rect.size())
widget.render(pixmap)
drag = QDrag(self)
drag.setPixmap(pixmap)
......
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