Hi everyone

I have a problem with context menu on QTableWidget. It works pretty slow. My QTableWidget's cells are painted with delegates nad I wonder if this could cause such behavior... Here is some code

Qt Code:
  1. void QDnDtableWidget::contextMenuEvent( QContextMenuEvent* pe)
  2. {
  3. QMenu context(this);
  4. context.addAction("&Open Containing Folder...");
  5. context.addSeparator();
  6. context.addAction("&Download");
  7. context.addAction("&Stop");
  8. context.exec(pe->globalPos());
  9. }
To copy to clipboard, switch view to plain text mode