Also in CalamaresUtilsGui

This commit is contained in:
Teo Mrnjavac 2014-12-16 15:22:33 +01:00
parent 2a5e8c8ee3
commit d3ea92ef3d
2 changed files with 7 additions and 2 deletions

View File

@ -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;
}

View File

@ -29,14 +29,15 @@ class QLayout;
namespace CalamaresUtils
{
enum ImageType
enum ImageType : int
{
Yes,
No,
Information,
Fail,
Partitions,
Magic
Magic,
Replace
};
enum ImageMode