From d3ea92ef3d9c79fabf58e3c0cad87f18efd7d8ea Mon Sep 17 00:00:00 2001 From: Teo Mrnjavac Date: Tue, 16 Dec 2014 15:22:33 +0100 Subject: [PATCH] Also in CalamaresUtilsGui --- src/libcalamaresui/utils/CalamaresUtilsGui.cpp | 4 ++++ src/libcalamaresui/utils/CalamaresUtilsGui.h | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/libcalamaresui/utils/CalamaresUtilsGui.cpp b/src/libcalamaresui/utils/CalamaresUtilsGui.cpp index 782a47d87..a5b585fcc 100644 --- a/src/libcalamaresui/utils/CalamaresUtilsGui.cpp +++ b/src/libcalamaresui/utils/CalamaresUtilsGui.cpp @@ -66,6 +66,10 @@ defaultPixmap( ImageType type, ImageMode mode, const QSize& size ) pixmap = ImageRegistry::instance()->pixmap( RESPATH "images/magic.svgz", size ); break; + case Replace: + pixmap = ImageRegistry::instance()->pixmap( RESPATH "images/replace.svgz", size ); + break; + default: break; } diff --git a/src/libcalamaresui/utils/CalamaresUtilsGui.h b/src/libcalamaresui/utils/CalamaresUtilsGui.h index cbc80336d..047e35e12 100644 --- a/src/libcalamaresui/utils/CalamaresUtilsGui.h +++ b/src/libcalamaresui/utils/CalamaresUtilsGui.h @@ -29,14 +29,15 @@ class QLayout; namespace CalamaresUtils { -enum ImageType +enum ImageType : int { Yes, No, Information, Fail, Partitions, - Magic + Magic, + Replace }; enum ImageMode