1
0
mirror of https://github.com/strawberrymusicplayer/strawberry synced 2024-12-17 11:10:31 +01:00

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

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; }");