--- qsampler/trunk/src/qsamplerMainForm.ui.h 2004/06/12 13:21:35 122 +++ qsampler/trunk/src/qsamplerMainForm.ui.h 2004/06/14 21:05:20 127 @@ -252,6 +252,7 @@ } +// Window drag-n-drop event handlers. void qsamplerMainForm::dragEnterEvent ( QDragEnterEvent* pDragEnterEvent ) { bool bAccept = false; @@ -276,6 +277,15 @@ } +// Context menu event handler. +void qsamplerMainForm::contextMenuEvent( QContextMenuEvent *pEvent ) +{ + stabilizeForm(); + + editMenu->exec(pEvent->globalPos()); +} + + //------------------------------------------------------------------------- // qsamplerMainForm -- Brainless public property accessors.