Skip to content

Commit

Permalink
Use MAXIMUM_BUFFER_SIZE in SetupDialog
Browse files Browse the repository at this point in the history
  • Loading branch information
messmerd committed Sep 9, 2024
1 parent a262d17 commit 0f070e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/modals/SetupDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@ SetupDialog::SetupDialog(ConfigTab tab_to_open) :
QHBoxLayout * bufferSizeSubLayout = new QHBoxLayout();

m_bufferSizeSlider = new QSlider(Qt::Horizontal, bufferSizeBox);
m_bufferSizeSlider->setRange(1, 128);
m_bufferSizeSlider->setRange(1, MAXIMUM_BUFFER_SIZE / BUFFERSIZE_RESOLUTION);
m_bufferSizeSlider->setTickInterval(8);
m_bufferSizeSlider->setPageStep(8);
m_bufferSizeSlider->setValue(m_bufferSize / BUFFERSIZE_RESOLUTION);
Expand Down

0 comments on commit 0f070e4

Please sign in to comment.