made formal QtUtils class

This commit is contained in:
itsmattkc
2020-11-17 09:42:36 +11:00
parent 97a15f2c54
commit e2010dde83
19 changed files with 48 additions and 33 deletions
+1 -1
View File
@@ -124,7 +124,7 @@ void AudioMonitor::paintGL()
// Create rect where decibel markings will go on the side
QRect db_labels_rect = rect();
db_labels_rect.setWidth(QFontMetricsWidth(p.fontMetrics(), "-00"));
db_labels_rect.setWidth(QtUtils::QFontMetricsWidth(p.fontMetrics(), "-00"));
db_labels_rect.adjust(0, font_height, 0, 0);
// Determine rect where the main meter will go