activate new icons and remove old icons

This commit is contained in:
wmayer 2016-08-19 17:08:02 +02:00
parent 3491bb01f8
commit 40bba1b2e0
4 changed files with 1 additions and 41 deletions

View File

@ -53,8 +53,6 @@
#include <App/Application.h>
#include "BitmapFactory.h"
#include "Icons/images.cpp"
#include "Icons/BmpFactoryIcons.cpp"
using namespace Gui;
@ -118,8 +116,6 @@ BitmapFactoryInst& BitmapFactoryInst::instance(void)
_pcSingleton->addPath(QString::fromLatin1("%1/icons").arg(QString::fromUtf8(App::GetApplication().Config()["UserAppData"].c_str())));
_pcSingleton->addPath(QLatin1String(":/icons/"));
_pcSingleton->addPath(QLatin1String(":/Icons/"));
RegisterIcons();
}
return *_pcSingleton;

View File

@ -1,7 +0,0 @@
void RegisterIcons()
{
Gui::BitmapFactoryInst& rclBmpFactory = Gui::BitmapFactory();
rclBmpFactory.addXPM("WhatsThis", WhatsThis);
}

View File

@ -1,30 +0,0 @@
/* XPM */
static const char * WhatsThis[] = {
"24 24 3 1",
" c None",
"o c #000000",
"a c #000080",
"........................",
"........................",
"........................",
"........................",
"....o aaaaa ",
"....oo aaa aaa ",
"....ooo aaa aaa ",
"....oooo aa aa ",
"....ooooo aa aa ",
"....oooooo a aaa ",
"....ooooooo aaa ",
"....oooooooo aaa ",
"....ooooooooo aaa ",
"....ooooo aaa ",
"....oo ooo ",
"....o ooo aaa ",
".... ooo aaa ",
".... ooo ",
".... ooo ",
".... ooo ",
"........................",
"........................",
"........................",
"........................"};

View File

@ -146,6 +146,7 @@
<file>Std_WindowNext.svg</file>
<file>Std_WindowPrev.svg</file>
<file>Std_WindowTileVer.svg</file>
<file>WhatsThis.svg</file>
<file>colors.svg</file>
<file>px.svg</file>
</qresource>