Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Define "small font" size in pixels, not in points.

  • Loading branch information...
commit ed8ef71e6171258d26c8df7741d4a74ffe3137e0 1 parent 64473a7
@mcvsama authored
View
2  src/haruhi/config/resources.cc
@@ -33,7 +33,7 @@ small_font()
if (!sf_initialized)
{
sf = QApplication::font();
- sf.setPointSize (8);
+ sf.setPixelSize (8);
}
return sf;
View
2  src/haruhi/widgets/level_meter.cc
@@ -253,7 +253,7 @@ LevelMetersGroup::LevelMetersGroup (QWidget* parent, float lower_db, float upper
{
_peak_button = new QPushButton ("-inf dB", this);
_peak_button->setFont (Resources::small_font());
- _peak_button->setFixedHeight (2 * Resources::small_font().pointSize());
+ _peak_button->setFixedHeight (2 * Resources::small_font().pixelSize());
_peak_button->setFixedWidth (35);
_peak_button_bg = _peak_button->paletteBackgroundColor();
_peak_button_fg = _peak_button->paletteForegroundColor();
Please sign in to comment.
Something went wrong with that request. Please try again.