mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-26 01:31:30 -05:00
removed tab system temporarily until we fix it
This commit is contained in:
parent
d0a373c14f
commit
1c2e094f20
@ -432,12 +432,14 @@ void GxsGroupFrameDialog::groupTreeCustomPopupMenu(QPoint point)
|
|||||||
QMenu contextMnu(this);
|
QMenu contextMnu(this);
|
||||||
QAction *action;
|
QAction *action;
|
||||||
|
|
||||||
|
#ifdef TODO
|
||||||
if (mMessageWidget) {
|
if (mMessageWidget) {
|
||||||
action = contextMnu.addAction(QIcon(IMAGE_TABNEW), tr("Open in new tab"), this, SLOT(openInNewTab()));
|
action = contextMnu.addAction(QIcon(IMAGE_TABNEW), tr("Open in new tab"), this, SLOT(openInNewTab()));
|
||||||
if (mGroupId.isNull() || messageWidget(mGroupId, true)) {
|
if (mGroupId.isNull() || messageWidget(mGroupId, true)) {
|
||||||
action->setEnabled(false);
|
action->setEnabled(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
if (isSubscribed) {
|
if (isSubscribed) {
|
||||||
action = contextMnu.addAction(QIcon(IMAGE_UNSUBSCRIBE), tr("Unsubscribe"), this, SLOT(unsubscribeGroup()));
|
action = contextMnu.addAction(QIcon(IMAGE_UNSUBSCRIBE), tr("Unsubscribe"), this, SLOT(unsubscribeGroup()));
|
||||||
@ -839,8 +841,10 @@ void GxsGroupFrameDialog::changedCurrentGroup(const QString &groupId)
|
|||||||
/* search exisiting tab */
|
/* search exisiting tab */
|
||||||
GxsMessageFrameWidget *msgWidget = messageWidget(mGroupId, true);
|
GxsMessageFrameWidget *msgWidget = messageWidget(mGroupId, true);
|
||||||
|
|
||||||
if (!msgWidget) {
|
if (!msgWidget)
|
||||||
if (mMessageWidget) {
|
{
|
||||||
|
if (mMessageWidget)
|
||||||
|
{
|
||||||
/* not found, use standard tab */
|
/* not found, use standard tab */
|
||||||
msgWidget = mMessageWidget;
|
msgWidget = mMessageWidget;
|
||||||
msgWidget->setGroupId(mGroupId);
|
msgWidget->setGroupId(mGroupId);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user