Skip to content

Commit

Permalink
Add explicit Qt::Alignment typecast in InstrumentTrackWindow
Browse files Browse the repository at this point in the history
  • Loading branch information
irrenhaus3 committed Apr 24, 2022
1 parent fefc25c commit c5bb0b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/InstrumentTrackWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ InstrumentTrackWindow::InstrumentTrackWindow( InstrumentTrackView * _itv ) :
basicControlsLayout->setContentsMargins(0, 0, 0, 0);

QString labelStyleSheet = "font-size: 6pt;";
Qt::Alignment labelAlignment = Qt::AlignHCenter | Qt::AlignTop;
Qt::Alignment widgetAlignment = Qt::AlignHCenter | Qt::AlignCenter;
auto labelAlignment = static_cast<Qt::Alignment>(Qt::AlignHCenter | Qt::AlignTop);
auto widgetAlignment = static_cast<Qt::Alignment>(Qt::AlignHCenter | Qt::AlignCenter);

// set up volume knob
m_volumeKnob = new Knob( knobBright_26, nullptr, tr( "Volume" ) );
Expand Down

0 comments on commit c5bb0b2

Please sign in to comment.