update hardcoded XPMs to .svg files. Updated .svg icons for clarity.
This commit is contained in:
@@ -48,36 +48,6 @@
|
||||
|
||||
using namespace Gui;
|
||||
|
||||
/* XPM */
|
||||
static const char *not_found[]={
|
||||
"24 24 2 1",
|
||||
"# c #000000",
|
||||
". c #ffffff",
|
||||
"........................",
|
||||
"........................",
|
||||
"...##..............##...",
|
||||
"..####............####..",
|
||||
"..#####..........#####..",
|
||||
"..######........#####...",
|
||||
"...######......######...",
|
||||
"....######....######....",
|
||||
".....######..######.....",
|
||||
"......############......",
|
||||
".......##########.......",
|
||||
"........########........",
|
||||
".........######.........",
|
||||
"........########........",
|
||||
".......##########.......",
|
||||
"......############......",
|
||||
".....######..######.....",
|
||||
"....######....######....",
|
||||
"..#######......######...",
|
||||
".#######........######..",
|
||||
".######..........#####..",
|
||||
"..####.............##...",
|
||||
"........................",
|
||||
"........................"};
|
||||
|
||||
namespace Gui {
|
||||
class BitmapFactoryInstP
|
||||
{
|
||||
@@ -281,7 +251,7 @@ QPixmap BitmapFactoryInst::pixmap(const char* name) const
|
||||
}
|
||||
|
||||
Base::Console().Warning("Cannot find icon: %s\n", name);
|
||||
return QPixmap(not_found);
|
||||
return QPixmap(Gui::BitmapFactory().pixmapFromSvg("help-browser", QSize(16, 16)));
|
||||
}
|
||||
|
||||
QPixmap BitmapFactoryInst::pixmapFromSvg(const char* name, const QSizeF& size,
|
||||
|
||||
Reference in New Issue
Block a user