diff options
author | Arno <arno@disconnect.de> | 2018-02-02 03:43:45 +0100 |
---|---|---|
committer | Arno <arno@disconnect.de> | 2018-02-02 03:43:45 +0100 |
commit | fd217e0513d450fc78345d6b040eda7893d815a8 (patch) | |
tree | 45504ac927ad58b9a43251426aec84a8bad9058f /helper.h | |
parent | 9dd407fe739e1ba469b17d2977feabe3130d4e57 (diff) | |
download | ShemovCleaner-fd217e0513d450fc78345d6b040eda7893d815a8.tar.gz ShemovCleaner-fd217e0513d450fc78345d6b040eda7893d815a8.tar.bz2 ShemovCleaner-fd217e0513d450fc78345d6b040eda7893d815a8.zip |
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.
Diffstat (limited to 'helper.h')
-rw-r--r-- | helper.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -4,6 +4,7 @@ #include <QString> #include <QJsonDocument> #include <QPixmap> +#include <QIcon> 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(); |