summaryrefslogtreecommitdiffstats
path: root/src/widget/wlibrarysidebar.cpp
diff options
context:
space:
mode:
authorRJ Ryan <rryan@mixxx.org>2014-12-06 15:27:52 -0500
committerRJ Ryan <rryan@mixxx.org>2014-12-16 10:46:42 -0500
commitcc561ac98383395767af59f4a7711281cd0c20e5 (patch)
treea27d0ebbf648e6a15d13bc0f17a1b3dd5412dafb /src/widget/wlibrarysidebar.cpp
parentda5ee7e7a238ccfde2046aaa5a222d309be5c877 (diff)
Add library font preference.
* Add font selector to the preferences. * Move row height preference from Interface to Library. * Add controls for changing the font size: - [Library],font_size_increment - [Library],font_size_decrement - [Library],font_size_knob If the row height is smaller than the font-size the larger of the two is used.
Diffstat (limited to 'src/widget/wlibrarysidebar.cpp')
-rw-r--r--src/widget/wlibrarysidebar.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/widget/wlibrarysidebar.cpp b/src/widget/wlibrarysidebar.cpp
index 8ba2088b16..cccef41693 100644
--- a/src/widget/wlibrarysidebar.cpp
+++ b/src/widget/wlibrarysidebar.cpp
@@ -208,3 +208,7 @@ bool WLibrarySidebar::event(QEvent* pEvent) {
}
return QTreeView::event(pEvent);
}
+
+void WLibrarySidebar::slotSetFont(const QFont& font) {
+ setFont(font);
+}