diff --git a/src/libcalamaresui/utils/CalamaresUtilsGui.cpp b/src/libcalamaresui/utils/CalamaresUtilsGui.cpp index 3b04897ae..38d7d12e0 100644 --- a/src/libcalamaresui/utils/CalamaresUtilsGui.cpp +++ b/src/libcalamaresui/utils/CalamaresUtilsGui.cpp @@ -1,6 +1,7 @@ /* === This file is part of Calamares - === * * Copyright 2014-2015, Teo Mrnjavac + * Copyright 2017, Adriaan de Groot * * Calamares is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -107,6 +108,18 @@ defaultPixmap( ImageType type, ImageMode mode, const QSize& size ) case Squid: pixmap = ImageRegistry::instance()->pixmap( RESPATH "images/squid.svg", size ); break; + + case StatusOk: + pixmap = ImageRegistry::instance()->pixmap( RESPATH "images/state-ok.svg", size ); + break; + + case StatusWarning: + pixmap = ImageRegistry::instance()->pixmap( RESPATH "images/state-warning.svg", size ); + break; + + case StatusError: + pixmap = ImageRegistry::instance()->pixmap( RESPATH "images/state-error.svg", size ); + break; } if ( pixmap.isNull() ) diff --git a/src/libcalamaresui/utils/CalamaresUtilsGui.h b/src/libcalamaresui/utils/CalamaresUtilsGui.h index e675d0672..b64133455 100644 --- a/src/libcalamaresui/utils/CalamaresUtilsGui.h +++ b/src/libcalamaresui/utils/CalamaresUtilsGui.h @@ -55,7 +55,10 @@ enum ImageType : int PartitionReplaceOs, PartitionTable, BootEnvironment, - Squid + Squid, + StatusOk, // Icons for the requirements checker + StatusWarning, + StatusError }; /**