Turn off undo/redo stack for QTextDocument in playwidget details

This commit is contained in:
Jonas Kvinge 2021-01-16 03:12:34 +01:00
parent 21c5a97d15
commit 6e40f639b7
1 changed files with 1 additions and 0 deletions

View File

@ -115,6 +115,7 @@ PlayingWidget::PlayingWidget(QWidget *parent)
connect(timeline_fade_, SIGNAL(valueChanged(qreal)), SLOT(FadePreviousTrack(qreal)));
timeline_fade_->setDirection(QTimeLine::Backward); // 1.0 -> 0.0
details_->setUndoRedoEnabled(false);
// add placeholder text to get the correct height
if (mode_ == LargeSongDetails) {
details_->setDefaultStyleSheet("p { font-size: small; font-weight: bold; }");