diff options
author | RJ Ryan <rryan@mixxx.org> | 2014-12-06 15:27:52 -0500 |
---|---|---|
committer | RJ Ryan <rryan@mixxx.org> | 2014-12-16 10:46:42 -0500 |
commit | cc561ac98383395767af59f4a7711281cd0c20e5 (patch) | |
tree | a27d0ebbf648e6a15d13bc0f17a1b3dd5412dafb /src/widget/wlibrarysidebar.cpp | |
parent | da5ee7e7a238ccfde2046aaa5a222d309be5c877 (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.cpp | 4 |
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); +} |