mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
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:
parent
ccfbfa9984
commit
367d1aa790
@ -8,4 +8,4 @@ FORMS = LinksDialog.ui AddLinksDialog.ui
|
||||
|
||||
TARGET = LinksCloud
|
||||
|
||||
RESOURCES = images.qrc
|
||||
RESOURCES = linksCloud_images.qrc
|
||||
|
@ -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 ;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user