From 0d2eb533f18dbd2330f5bd48b6a154a3c87b84d2 Mon Sep 17 00:00:00 2001 From: Arno Date: Tue, 3 Apr 2018 09:11:25 +0200 Subject: Add a menu with global actions to SmGlobals Use it in the toolbar for FSWidge and hide the menuBar. Change Helper::icon to accept different foreground colors and wether to draw the ellipse. --- helper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'helper.h') diff --git a/helper.h b/helper.h index c5e53d0..a3f0f3e 100644 --- a/helper.h +++ b/helper.h @@ -50,7 +50,7 @@ namespace Helper { QImage snapshot(const QString &path, int where); QVariant picSize(const QString &path); PicData convertArchivefileToPng(PicData data); - const QIcon icon(const QColor &bg, const QChar c, bool bold = true); + const QIcon icon(const QColor &bg, const QColor &fg, const QChar c, bool bold, bool drawEllipse); QAction *createSeparator(QWidget *parent); class Duration { public: -- cgit v1.2.3-70-g09d2