Skip to content

Commit

Permalink
WSearchLineEdit: apply library font to both QLineEdit and QListView
Browse files Browse the repository at this point in the history
  • Loading branch information
ronso0 committed Oct 13, 2020
1 parent d1a0c3b commit 0d491ad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion res/skins/LateNight/style.qss
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ WTrackText,
WTrackProperty,
WBeatSpinBox,
QSpinBox,
QComboBox,
WLibrary QHeaderView,
WLibrary QHeaderView::item,
QToolTip,
Expand All @@ -27,6 +26,7 @@ WCoverArtMenu,
WTrackMenu,
WTrackMenu QMenu,
WOverview /* Hotcue labels in the overview */,
WBeatSpinBox, #spinBoxTransition,
WEffectSelector,
WEffectSelector QAbstractScrollArea,
#fadeModeCombobox,
Expand Down
3 changes: 3 additions & 0 deletions src/widget/wsearchlineedit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -467,4 +467,7 @@ void WSearchLineEdit::slotSetShortcutFocus() {
// Use the same font as the library table and the sidebar
void WSearchLineEdit::slotSetFont(const QFont& font) {
setFont(font);
if (lineEdit()) {
lineEdit()->setFont(font);
}
}

0 comments on commit 0d491ad

Please sign in to comment.