Expose new partitioning icons in CalamaresUtils::defaultPixmap.

main
Teo Mrnjavac 10 years ago
parent cf49239419
commit b095982830

@ -58,18 +58,6 @@ defaultPixmap( ImageType type, ImageMode mode, const QSize& size )
pixmap = ImageRegistry::instance()->pixmap( RESPATH "images/fail.svgz", size ); pixmap = ImageRegistry::instance()->pixmap( RESPATH "images/fail.svgz", size );
break; 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;
case Replace:
pixmap = ImageRegistry::instance()->pixmap( RESPATH "images/replace.svgz", size );
break;
case Bugs: case Bugs:
pixmap = ImageRegistry::instance()->pixmap( RESPATH "images/bugs.svg", size ); pixmap = ImageRegistry::instance()->pixmap( RESPATH "images/bugs.svg", size );
break; break;
@ -82,6 +70,22 @@ defaultPixmap( ImageType type, ImageMode mode, const QSize& size )
pixmap = ImageRegistry::instance()->pixmap( RESPATH "images/release.svg", size ); pixmap = ImageRegistry::instance()->pixmap( RESPATH "images/release.svg", size );
break; break;
case PartitionAlongside:
pixmap = ImageRegistry::instance()->pixmap( RESPATH "images/partition-alongside.svg", size );
break;
case PartitionEraseAuto:
pixmap = ImageRegistry::instance()->pixmap( RESPATH "images/partition-erase-auto.svg", size );
break;
case PartitionManual:
pixmap = ImageRegistry::instance()->pixmap( RESPATH "images/partition-manual.svg", size );
break;
case PartitionReplaceOs:
pixmap = ImageRegistry::instance()->pixmap( RESPATH "images/partition-replace-os.svg", size );
break;
default: default:
break; break;
} }

@ -35,12 +35,13 @@ enum ImageType : int
No, No,
Information, Information,
Fail, Fail,
Partitions,
Magic,
Replace,
Bugs, Bugs,
Help, Help,
Release Release,
PartitionAlongside,
PartitionEraseAuto,
PartitionManual,
PartitionReplaceOs
}; };
enum ImageMode enum ImageMode

Loading…
Cancel
Save