mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-28 08:54:13 -04:00
removed tab system temporarily until we fix it
This commit is contained in:
parent
d0a373c14f
commit
1c2e094f20
1 changed files with 7 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue