From b8b0cdeebbc7e6c7df905291974ed9612125fe55 Mon Sep 17 00:00:00 2001 From: Arno Date: Sat, 27 Jul 2013 08:53:21 +0200 Subject: Simplify icon management Introduce SmGlobals::iconFor to retrieve the configured item. --- smglobals.h | 1 + 1 file changed, 1 insertion(+) (limited to 'smglobals.h') diff --git a/smglobals.h b/smglobals.h index 825640d..5580f47 100644 --- a/smglobals.h +++ b/smglobals.h @@ -35,6 +35,7 @@ class SmGlobals : public QObject { void setArchiveController(ArchiveController *c) { mArchiveController = c; } ArchiveController *archiveController() { return mArchiveController; } QSize cursorSize(); + QIcon iconFor(const QString &type); const QSize minPVSize() const { return QSize(640, 480); } const QHash & icons() const { return mIcons; } qint64 dvdSize() const { return mDvdSize; } -- cgit v1.2.3-70-g09d2