get rid of messages about missing d_xxx images
This commit is contained in:
parent
74861cf158
commit
df02f3dcc6
@ -1,5 +1,5 @@
|
|||||||
#ifndef lint
|
#ifndef lint
|
||||||
static char rcsid[] = "@(#$Id: rclmain_w.cpp,v 1.18 2006-12-22 16:48:05 dockes Exp $ (C) 2005 J.F.Dockes";
|
static char rcsid[] = "@(#$Id: rclmain_w.cpp,v 1.19 2007-01-08 07:02:25 dockes Exp $ (C) 2005 J.F.Dockes";
|
||||||
#endif
|
#endif
|
||||||
/*
|
/*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
@ -78,9 +78,9 @@ extern "C" int XFlush(void *);
|
|||||||
static QIconSet createIconSet(const QString &name)
|
static QIconSet createIconSet(const QString &name)
|
||||||
{
|
{
|
||||||
QIconSet ic(QPixmap::fromMimeSource(name));
|
QIconSet ic(QPixmap::fromMimeSource(name));
|
||||||
QString iname = "d_" + name;
|
QString iname = "d_" + name;
|
||||||
ic.setPixmap(QPixmap::fromMimeSource(iname),
|
ic.setPixmap(QPixmap::fromMimeSource(iname),
|
||||||
QIconSet::Small, QIconSet::Disabled );
|
QIconSet::Small, QIconSet::Disabled );
|
||||||
return ic;
|
return ic;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
@ -152,12 +152,12 @@ void RclMain::init()
|
|||||||
|
|
||||||
|
|
||||||
#if (QT_VERSION < 0x040000)
|
#if (QT_VERSION < 0x040000)
|
||||||
toolsSpellAction->setIconSet(createIconSet("spell.png"));
|
|
||||||
nextPageAction->setIconSet(createIconSet("nextpage.png"));
|
nextPageAction->setIconSet(createIconSet("nextpage.png"));
|
||||||
prevPageAction->setIconSet(createIconSet("prevpage.png"));
|
prevPageAction->setIconSet(createIconSet("prevpage.png"));
|
||||||
toolsDoc_HistoryAction->setIconSet(createIconSet("history.png"));
|
toolsSpellAction->setIconSet(QPixmap("images/spell.png"));
|
||||||
toolsAdvanced_SearchAction->setIconSet(createIconSet("asearch.png"));
|
toolsDoc_HistoryAction->setIconSet(QPixmap("images/history.png"));
|
||||||
toolsSort_parametersAction->setIconSet(createIconSet("sortparms.png"));
|
toolsAdvanced_SearchAction->setIconSet(QPixmap("images/asearch.png"));
|
||||||
|
toolsSort_parametersAction->setIconSet(QPixmap("images/sortparms.png"));
|
||||||
#else
|
#else
|
||||||
toolsSpellAction->setIcon(QIcon(":/images/spell.png"));
|
toolsSpellAction->setIcon(QIcon(":/images/spell.png"));
|
||||||
nextPageAction->setIcon(QIcon(":/images/nextpage.png"));
|
nextPageAction->setIcon(QIcon(":/images/nextpage.png"));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user