From fd217e0513d450fc78345d6b040eda7893d815a8 Mon Sep 17 00:00:00 2001 From: Arno Date: Fri, 2 Feb 2018 03:43:45 +0100 Subject: Show actors in SearchDialog This should have been two commits, really. One for the actors, and another one for the icon helper. Helper::icon returns an QIcon with a circle in bg color and the char c. --- helper.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'helper.h') diff --git a/helper.h b/helper.h index 7c4eece..6798180 100644 --- a/helper.h +++ b/helper.h @@ -4,6 +4,7 @@ #include #include #include +#include namespace Helper { const QString md5Sum(const QString &path); @@ -11,6 +12,7 @@ namespace Helper { const QPixmap preview(const QString &file); const QImage snapshot(const QString &file, int offset); const QString appDataDir(); + const QIcon icon(const QColor &bg, const QChar c); class Duration { public: Duration(); -- cgit v1.2.3-70-g09d2