upgrade to qt 6 compliance
This commit is contained in:
@@ -30,7 +30,7 @@ TimelineAndTrackView::TimelineAndTrackView(Qt::Alignment vertical_alignment, QWi
|
||||
{
|
||||
QHBoxLayout* layout = new QHBoxLayout(this);
|
||||
layout->setSpacing(0);
|
||||
layout->setMargin(0);
|
||||
layout->setContentsMargins(0, 0, 0, 0);
|
||||
|
||||
splitter_ = new QSplitter(Qt::Horizontal);
|
||||
splitter_->setChildrenCollapsible(false);
|
||||
|
||||
@@ -73,7 +73,7 @@ TimelineWidget::TimelineWidget(QWidget *parent) :
|
||||
{
|
||||
QVBoxLayout* vert_layout = new QVBoxLayout(this);
|
||||
vert_layout->setSpacing(0);
|
||||
vert_layout->setMargin(0);
|
||||
vert_layout->setContentsMargins(0, 0, 0, 0);
|
||||
|
||||
QHBoxLayout* ruler_and_time_layout = new QHBoxLayout();
|
||||
vert_layout->addLayout(ruler_and_time_layout);
|
||||
|
||||
@@ -42,7 +42,7 @@ TrackView::TrackView(Qt::Alignment vertical_alignment, QWidget *parent) :
|
||||
setWidgetResizable(true);
|
||||
|
||||
QVBoxLayout* layout = new QVBoxLayout(central);
|
||||
layout->setMargin(0);
|
||||
layout->setContentsMargins(0, 0, 0, 0);
|
||||
layout->setSpacing(0);
|
||||
|
||||
if (alignment_ == Qt::AlignBottom) {
|
||||
|
||||
@@ -40,7 +40,7 @@ TrackViewItem::TrackViewItem(Track* track, QWidget *parent) :
|
||||
{
|
||||
QHBoxLayout* layout = new QHBoxLayout(this);
|
||||
layout->setSpacing(0);
|
||||
layout->setMargin(0);
|
||||
layout->setContentsMargins(0, 0, 0, 0);
|
||||
|
||||
stack_ = new QStackedWidget();
|
||||
layout->addWidget(stack_);
|
||||
|
||||
Reference in New Issue
Block a user