mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-03-01 11:21:25 -05:00
fixed early initialization of QIcon
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4364 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
aab46a5295
commit
fd98b94dbd
@ -20,7 +20,7 @@ LinksCloudPlugin::LinksCloudPlugin()
|
|||||||
{
|
{
|
||||||
mRanking = NULL ;
|
mRanking = NULL ;
|
||||||
mainpage = NULL ;
|
mainpage = NULL ;
|
||||||
mIcon = new QIcon(IMAGE_LINKS) ;
|
mIcon = NULL ;
|
||||||
}
|
}
|
||||||
|
|
||||||
MainPage *LinksCloudPlugin::qt_page() const
|
MainPage *LinksCloudPlugin::qt_page() const
|
||||||
@ -44,6 +44,9 @@ RsCacheService *LinksCloudPlugin::rs_cache_service() const
|
|||||||
|
|
||||||
QIcon *LinksCloudPlugin::qt_icon() const
|
QIcon *LinksCloudPlugin::qt_icon() const
|
||||||
{
|
{
|
||||||
|
if(mIcon == NULL)
|
||||||
|
mIcon = new QIcon(IMAGE_LINKS) ;
|
||||||
|
|
||||||
return mIcon ;
|
return mIcon ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user