Commit 629b4522 authored by Mark Nauwelaerts's avatar Mark Nauwelaerts
Browse files

quickopen: match against path to obtain path formats

parent 4375da4a
......@@ -172,7 +172,7 @@ public:
QTextCharFormat boldFmt;
boldFmt.setFontWeight(QFont::Bold);
boldFmt.setFontPointSize(options.font.pointSize() - 1);
auto pathFormats = kfts::get_fuzzy_match_formats(m_filterString, name, nameLen + space, boldFmt);
auto pathFormats = kfts::get_fuzzy_match_formats(m_filterString, path, nameLen + space, boldFmt);
QTextCharFormat gray;
gray.setForeground(Qt::gray);
gray.setFontPointSize(options.font.pointSize() - 1);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment