Commit 6a6ad374 authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Fix Recent regression - groups lost on project opening

Fix group width 1 frame too short
BUG: 368342
parent bc2aa266
......@@ -1916,7 +1916,7 @@ void MainWindow::connectDocument()
m_normalEditTool->setChecked(true);
connect(m_projectMonitor, SIGNAL(durationChanged(int)), this, SLOT(slotUpdateProjectDuration(int)));
pCore->monitorManager()->setDocument(project);
trackView->updateProfile(false);
trackView->updateProfile(1.0);
if (m_recMonitor) {
m_recMonitor->slotUpdateCaptureFolder(project->projectFolder().path() + QDir::separator());
}
......
......@@ -176,8 +176,8 @@ void AbstractGroupItem::paint(QPainter *p, const QStyleOptionGraphicsItem *optio
pen.setStyle(Qt::DashLine);
pen.setWidthF(0.0);
p->setPen(pen);
QRectF bd = childrenBoundingRect().adjusted(0, 0, -1, 0);
p->drawRoundedRect(bd, 3, 3);
QRectF bd = childrenBoundingRect().adjusted(0, 0, 0, 0);
p->drawRect(bd);
}
int AbstractGroupItem::trackForPos(int position)
......
Supports Markdown
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