2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 22:46:10 +00:00

ContextMenu removed, PopupMenu replaced default context menu in input fields and all ContextMenu

This commit is contained in:
John Preston
2015-11-01 13:14:30 -05:00
parent 9219061da1
commit 7c71d977e2
23 changed files with 706 additions and 716 deletions

View File

@@ -1858,7 +1858,6 @@ void OverviewInner::showContextMenu(QContextMenuEvent *e, bool showFromTouch) {
if (_selectedMsgId > 0) updateMsg(App::histItemById(_channel, _selectedMsgId));
}
if (_menu) {
_menu->deleteOnHide();
connect(_menu, SIGNAL(destroyed(QObject*)), this, SLOT(onMenuDestroy(QObject*)));
_menu->popup(e->globalPos());
e->accept();