mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
fixed segfault in forum show dialog
prob merge issue git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7085 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
a4f0221d89
commit
accdf7e982
@ -150,6 +150,7 @@ void GxsGroupDialog::initMode()
|
|||||||
case MODE_CREATE:
|
case MODE_CREATE:
|
||||||
{
|
{
|
||||||
ui.buttonBox->setStandardButtons(QDialogButtonBox::Ok | QDialogButtonBox::Cancel);
|
ui.buttonBox->setStandardButtons(QDialogButtonBox::Ok | QDialogButtonBox::Cancel);
|
||||||
|
ui.buttonBox->button(QDialogButtonBox::Ok)->setText(tr("Create Forum"));
|
||||||
newGroup();
|
newGroup();
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
@ -72,17 +72,16 @@ void GxsForumGroupDialog::initUi()
|
|||||||
switch (mode())
|
switch (mode())
|
||||||
{
|
{
|
||||||
case MODE_CREATE:
|
case MODE_CREATE:
|
||||||
setUiText(UITYPE_SERVICE_HEADER, tr("Create New Forum"));
|
setUiText(UITYPE_SERVICE_HEADER, tr("Create New Forum"));
|
||||||
break;
|
break;
|
||||||
case MODE_SHOW:
|
case MODE_SHOW:
|
||||||
setUiText(UITYPE_SERVICE_HEADER, tr("Forum"));
|
setUiText(UITYPE_SERVICE_HEADER, tr("Forum"));
|
||||||
|
|
||||||
break;
|
break;
|
||||||
case MODE_EDIT:
|
case MODE_EDIT:
|
||||||
setUiText(UITYPE_SERVICE_HEADER, tr("Edit Forum"));
|
setUiText(UITYPE_SERVICE_HEADER, tr("Edit Forum"));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
setUiText(UITYPE_BUTTONBOX_OK, tr("Create Forum"));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
QPixmap GxsForumGroupDialog::serviceImage()
|
QPixmap GxsForumGroupDialog::serviceImage()
|
||||||
|
Loading…
Reference in New Issue
Block a user