Skip to content

Commit

Permalink
Fixup merge issues
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannesLorenz committed Jan 24, 2025
1 parent 21c3b67 commit adc1422
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
8 changes: 0 additions & 8 deletions src/gui/EffectRackView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -284,13 +284,5 @@ QSize EffectRackView::sizeHint() const



QSize EffectRackView::sizeHint() const
{
// Use the formula from InstrumentTrackWindow.cpp
return QSize{EffectRackView::DEFAULT_WIDTH, 254 - 4 - 1};
}




} // namespace lmms::gui
4 changes: 3 additions & 1 deletion src/gui/instrument/InstrumentView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ void InstrumentView::setModel( Model * _model, bool )
}
InstrumentTrackWindow* itw = instrumentTrackWindow();
SubWindow* subWindow = qobject_cast<SubWindow*>(itw->parent());
/* assert(subWindow);
assert(false);
if ( isResizable() )
{
subWindow->setSizePolicy( QSizePolicy::Expanding, QSizePolicy::Expanding );
Expand All @@ -81,7 +83,7 @@ void InstrumentView::setModel( Model * _model, bool )
{
subWindow->layout()->setSizeConstraint(QLayout::SetFixedSize);
}
}
}*/
}


Expand Down

0 comments on commit adc1422

Please sign in to comment.