Commit 4f68bdca authored by Alex Neundorf's avatar Alex Neundorf

quickopen: only use bold font for files which have already been opened.

For all other files, i.e. project files which have not yet been opened, use
normal font. This makes it easier to visually separate between the lru-sorted
open files at the top, and all other project files below them.
It is, at least to me, easier on the eye in general.

Alex
parent 5143e798
......@@ -244,9 +244,6 @@ void KateQuickOpen::update ()
itemName->setData(qVariantFromValue(KUrl::fromPath (file)), UrlRole);
itemName->setData(QString("%1: %2").arg(fi.fileName()).arg(file), SortFilterRole);
itemName->setEditable(false);
QFont font = itemName->font();
font.setBold(true);
itemName->setFont(font);
QStandardItem *itemUrl = new QStandardItem(file);
itemUrl->setEditable(false);
......
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