mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04: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 ;
|
||||
mainpage = NULL ;
|
||||
mIcon = new QIcon(IMAGE_LINKS) ;
|
||||
mIcon = NULL ;
|
||||
}
|
||||
|
||||
MainPage *LinksCloudPlugin::qt_page() const
|
||||
@ -44,6 +44,9 @@ RsCacheService *LinksCloudPlugin::rs_cache_service() const
|
||||
|
||||
QIcon *LinksCloudPlugin::qt_icon() const
|
||||
{
|
||||
if(mIcon == NULL)
|
||||
mIcon = new QIcon(IMAGE_LINKS) ;
|
||||
|
||||
return mIcon ;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user