Skip to content

Commit

Permalink
prefer useIcon over symbol
Browse files Browse the repository at this point in the history
  • Loading branch information
m0dB committed Nov 4, 2023
1 parent e7aeb02 commit efaf97d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/waveform/renderers/waveformmark.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ struct MarkerGeometry {
MarkerGeometry(const QString& label, bool useIcon, Qt::Alignment align, float breadth) {
// If the label is 1 character long, and this character isn't a letter or a number,
// we can assume it's a special symbol
m_isSymbol = label.length() == 1 && !label[0].isLetterOrNumber();
m_isSymbol = !useIcon && label.length() == 1 && !label[0].isLetterOrNumber();

// This alone would pick the OS default font, or that set by Qt5 Settings (qt5ct)
// respectively. This would mostly not be notable since contemporary OS and distros
Expand Down

0 comments on commit efaf97d

Please sign in to comment.