From 13ccede6303a190cd7995570f975172254b50cf3 Mon Sep 17 00:00:00 2001 From: Teo Mrnjavac Date: Wed, 3 Sep 2014 18:00:47 +0200 Subject: [PATCH] Add new icons to CalamaresUtilsGui --- src/libcalamaresui/utils/CalamaresUtilsGui.cpp | 8 ++++++++ src/libcalamaresui/utils/CalamaresUtilsGui.h | 4 +++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/src/libcalamaresui/utils/CalamaresUtilsGui.cpp b/src/libcalamaresui/utils/CalamaresUtilsGui.cpp index 48d8055d8..782a47d87 100644 --- a/src/libcalamaresui/utils/CalamaresUtilsGui.cpp +++ b/src/libcalamaresui/utils/CalamaresUtilsGui.cpp @@ -58,6 +58,14 @@ defaultPixmap( ImageType type, ImageMode mode, const QSize& size ) pixmap = ImageRegistry::instance()->pixmap( RESPATH "images/fail.svgz", size ); break; + case Partitions: + pixmap = ImageRegistry::instance()->pixmap( RESPATH "images/partitions.svgz", size ); + break; + + case Magic: + pixmap = ImageRegistry::instance()->pixmap( RESPATH "images/magic.svgz", size ); + break; + default: break; } diff --git a/src/libcalamaresui/utils/CalamaresUtilsGui.h b/src/libcalamaresui/utils/CalamaresUtilsGui.h index 20d6bc8b4..cbc80336d 100644 --- a/src/libcalamaresui/utils/CalamaresUtilsGui.h +++ b/src/libcalamaresui/utils/CalamaresUtilsGui.h @@ -34,7 +34,9 @@ enum ImageType Yes, No, Information, - Fail + Fail, + Partitions, + Magic }; enum ImageMode