summaryrefslogtreecommitdiffstats
path: root/helper.h
diff options
context:
space:
mode:
authorArno <arno@disconnect.de>2018-02-02 03:43:45 +0100
committerArno <arno@disconnect.de>2018-02-02 03:43:45 +0100
commitfd217e0513d450fc78345d6b040eda7893d815a8 (patch)
tree45504ac927ad58b9a43251426aec84a8bad9058f /helper.h
parent9dd407fe739e1ba469b17d2977feabe3130d4e57 (diff)
downloadShemovCleaner-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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/helper.h b/helper.h
index 7c4eece..6798180 100644
--- a/helper.h
+++ b/helper.h
@@ -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();