diff --git a/plugins/LinksCloud/LinksCloud.pro b/plugins/LinksCloud/LinksCloud.pro index fdc4f3032..e60237825 100644 --- a/plugins/LinksCloud/LinksCloud.pro +++ b/plugins/LinksCloud/LinksCloud.pro @@ -8,4 +8,4 @@ FORMS = LinksDialog.ui AddLinksDialog.ui TARGET = LinksCloud -RESOURCES = images.qrc +RESOURCES = linksCloud_images.qrc diff --git a/plugins/LinksCloud/LinksCloudPlugin.cpp b/plugins/LinksCloud/LinksCloudPlugin.cpp index bb6ae0531..5d82a4ce8 100644 --- a/plugins/LinksCloud/LinksCloudPlugin.cpp +++ b/plugins/LinksCloud/LinksCloudPlugin.cpp @@ -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 ; } diff --git a/plugins/LinksCloud/images.qrc b/plugins/LinksCloud/linksCloud_images.qrc similarity index 100% rename from plugins/LinksCloud/images.qrc rename to plugins/LinksCloud/linksCloud_images.qrc