From 0ca68f6a562de0ccd671715ea6e98ee2504dbb6b Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sat, 12 Dec 2009 14:16:02 +0000 Subject: I guess most developers use the Details View with very small icons (16 x 16) for viewing their versioned code (at least I do ;-)). In this case the version control emblems are very small and it is easy to miss that there are locally changed files or that an update is required (Nuno and I tried different sizes, but for 16 x 16 icons there is really less room for variants). So the text color gets tinted a little bit now to notice the difference... svn path=/trunk/KDE/kdebase/apps/; revision=1061618 --- src/dolphinfileitemdelegate.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/dolphinfileitemdelegate.h') diff --git a/src/dolphinfileitemdelegate.h b/src/dolphinfileitemdelegate.h index 287136862..405f24916 100644 --- a/src/dolphinfileitemdelegate.h +++ b/src/dolphinfileitemdelegate.h @@ -66,6 +66,9 @@ private: const DolphinModel* dolphinModel, const QModelIndex& index); + static void adjustOptionTextColor(QStyleOptionViewItemV4& option, + KVersionControlPlugin::VersionState state); + QPixmap emblemForState(KVersionControlPlugin::VersionState state, const QSize& size) const; private: -- cgit v1.3