mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
parent
1afed5f72e
commit
bc18990fd2
|
@ -713,6 +713,10 @@ bool parseConferenceSendMessageError(TOX_ERR_CONFERENCE_SEND_MESSAGE error)
|
||||||
case TOX_ERR_CONFERENCE_SEND_MESSAGE_TOO_LONG:
|
case TOX_ERR_CONFERENCE_SEND_MESSAGE_TOO_LONG:
|
||||||
qCritical() << "Message too long";
|
qCritical() << "Message too long";
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
default:
|
||||||
|
qCritical() << "Unknown TOX_ERR_CONFERENCE_SEND_MESSAGE error";
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -139,10 +139,6 @@ void FriendWidget::onContextMenuCalled(QContextMenuEvent* event)
|
||||||
|
|
||||||
const auto& s = Settings::getInstance();
|
const auto& s = Settings::getInstance();
|
||||||
const auto circleId = s.getFriendCircleID(frnd->getPublicKey());
|
const auto circleId = s.getFriendCircleID(frnd->getPublicKey());
|
||||||
auto circleWidget = CircleWidget::getFromID(circleId);
|
|
||||||
auto w = circleWidget ? circleWidget : static_cast<QWidget*>(this);
|
|
||||||
auto friendList = qobject_cast<FriendListWidget*>(w->parentWidget());
|
|
||||||
|
|
||||||
auto circleMenu = menu.addMenu(tr("Move to circle...",
|
auto circleMenu = menu.addMenu(tr("Move to circle...",
|
||||||
"Menu to move a friend into a different circle"));
|
"Menu to move a friend into a different circle"));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user