Fix crash when audioItem is initialized

preferencesAboutTextFull
Craig Watson 9 years ago
parent 6e49ddd932
commit f00d50d600
  1. 6
      src/domain/UBGraphicsMediaItem.cpp

@ -106,12 +106,12 @@ UBGraphicsAudioItem::UBGraphicsAudioItem(const QUrl &pMediaFileUrl, QGraphicsIte
{
haveLinkedImage = false;
this->setSize(320, 26);
this->setMinimumSize(QSize(150, 26));
Delegate()->createControls();
Delegate()->frame()->setOperationMode(UBGraphicsDelegateFrame::ResizingHorizontally);
this->setSize(320, 26);
this->setMinimumSize(QSize(150, 26));
mMediaObject->setNotifyInterval(1000);
}

Loading…
Cancel
Save