added missing Q_INIT_RESOURCE call to get the plugins icon loading correctly

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4394 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2011-07-05 20:42:28 +00:00
parent ccfbfa9984
commit 367d1aa790
3 changed files with 5 additions and 1 deletions

View File

@ -8,4 +8,4 @@ FORMS = LinksDialog.ui AddLinksDialog.ui
TARGET = LinksCloud
RESOURCES = images.qrc
RESOURCES = linksCloud_images.qrc

View File

@ -52,7 +52,11 @@ RsCacheService *LinksCloudPlugin::rs_cache_service() const
QIcon *LinksCloudPlugin::qt_icon() const
{
if(mIcon == NULL)
{
Q_INIT_RESOURCE(linksCloud_images) ;
mIcon = new QIcon(IMAGE_LINKS) ;
}
return mIcon ;
}