mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-29 01:16:20 -05:00
Fixed to display right header image for each mode
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7338 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
a9dcd24ba7
commit
25c15d1a32
@ -90,7 +90,18 @@ void GxsChannelGroupDialog::initUi()
|
|||||||
|
|
||||||
QPixmap GxsChannelGroupDialog::serviceImage()
|
QPixmap GxsChannelGroupDialog::serviceImage()
|
||||||
{
|
{
|
||||||
return QPixmap(":/images/add_channel64.png");
|
switch (mode())
|
||||||
|
{
|
||||||
|
case MODE_CREATE:
|
||||||
|
return QPixmap(":/images/add_channel64.png");
|
||||||
|
break;
|
||||||
|
case MODE_SHOW:
|
||||||
|
return QPixmap(":/images/channels.png");
|
||||||
|
break;
|
||||||
|
case MODE_EDIT:
|
||||||
|
return QPixmap(":/images/channels.png");
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool GxsChannelGroupDialog::service_CreateGroup(uint32_t &token, const RsGroupMetaData &meta)
|
bool GxsChannelGroupDialog::service_CreateGroup(uint32_t &token, const RsGroupMetaData &meta)
|
||||||
|
Loading…
Reference in New Issue
Block a user