Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Potentially fix some font scaling issues with the mythmusic smart

playlist popup. This has been a big problem with Ubuntu.
  • Loading branch information...
commit ac5b99d3007fc8bd6b95951315f55c8d3d2de438 1 parent 3958daf
Stuart Morgan authored December 03, 2010
5  mythplugins/mythmusic/mythmusic/smartplaylist.cpp
@@ -20,6 +20,7 @@ using namespace std;
20 20
 #include <dialogbox.h>
21 21
 #include <mythdialogs.h>
22 22
 #include <mythdb.h>
  23
+#include <mythuihelper.h>
23 24
 
24 25
 struct SmartPLField
25 26
 {
@@ -897,6 +898,8 @@ SmartPlaylistEditor::SmartPlaylistEditor(MythMainWindow *parent, const char *nam
897 898
     Q3VBoxLayout *vbox = new Q3VBoxLayout(this, (int)(15 * wmult));
898 899
     Q3HBoxLayout *hbox = new Q3HBoxLayout(vbox, (int)(0 * wmult));
899 900
 
  901
+    setFont(GetMythUI()->GetMediumFont());
  902
+
900 903
     // Window title
901 904
     QString message = tr("Smart Playlist Editor");
902 905
     QLabel *label = new QLabel(message, this);
@@ -1673,6 +1676,8 @@ SmartPLResultViewer::SmartPLResultViewer(MythMainWindow *parent, const char *nam
1673 1676
     Q3VBoxLayout *vbox = new Q3VBoxLayout(this, (int)(20 * wmult));
1674 1677
     Q3HBoxLayout *hbox = new Q3HBoxLayout(vbox, (int)(10 * wmult));
1675 1678
 
  1679
+    setFont(GetMythUI()->GetMediumFont());
  1680
+
1676 1681
     // Window title
1677 1682
     QString message = tr("Smart Playlist Result Viewer");
1678 1683
     QLabel *label = new QLabel(message, this);

0 notes on commit ac5b99d

Please sign in to comment.
Something went wrong with that request. Please try again.