Add new icons to CalamaresUtils::defaultPixmap.
This commit is contained in:
parent
e6f98393b8
commit
506b79ef2c
@ -1,6 +1,6 @@
|
|||||||
/* === This file is part of Calamares - <http://github.com/calamares> ===
|
/* === This file is part of Calamares - <http://github.com/calamares> ===
|
||||||
*
|
*
|
||||||
* Copyright 2014, Teo Mrnjavac <teo@kde.org>
|
* Copyright 2014-2015, Teo Mrnjavac <teo@kde.org>
|
||||||
*
|
*
|
||||||
* Calamares is free software: you can redistribute it and/or modify
|
* Calamares is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
@ -70,6 +70,18 @@ defaultPixmap( ImageType type, ImageMode mode, const QSize& size )
|
|||||||
pixmap = ImageRegistry::instance()->pixmap( RESPATH "images/replace.svgz", size );
|
pixmap = ImageRegistry::instance()->pixmap( RESPATH "images/replace.svgz", size );
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case Bugs:
|
||||||
|
pixmap = ImageRegistry::instance()->pixmap( RESPATH "images/bugs.svg", size );
|
||||||
|
break;
|
||||||
|
|
||||||
|
case Help:
|
||||||
|
pixmap = ImageRegistry::instance()->pixmap( RESPATH "images/help.svg", size );
|
||||||
|
break;
|
||||||
|
|
||||||
|
case Release:
|
||||||
|
pixmap = ImageRegistry::instance()->pixmap( RESPATH "images/release.svg", size );
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/* === This file is part of Calamares - <http://github.com/calamares> ===
|
/* === This file is part of Calamares - <http://github.com/calamares> ===
|
||||||
*
|
*
|
||||||
* Copyright 2014, Teo Mrnjavac <teo@kde.org>
|
* Copyright 2014-2015, Teo Mrnjavac <teo@kde.org>
|
||||||
*
|
*
|
||||||
* Calamares is free software: you can redistribute it and/or modify
|
* Calamares is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
@ -37,7 +37,10 @@ enum ImageType : int
|
|||||||
Fail,
|
Fail,
|
||||||
Partitions,
|
Partitions,
|
||||||
Magic,
|
Magic,
|
||||||
Replace
|
Replace,
|
||||||
|
Bugs,
|
||||||
|
Help,
|
||||||
|
Release
|
||||||
};
|
};
|
||||||
|
|
||||||
enum ImageMode
|
enum ImageMode
|
||||||
|
Loading…
Reference in New Issue
Block a user