X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fwidgets%2Fwellarray.cpp;h=dcc3b417e146474a3b26cfea0f07d60ade86ccb6;hp=a5979db7183d79696a659483157beb1a84076705;hb=1af53b66060975afe70055fb72265ff0922566da;hpb=7cc05d0295b41755e38ecad57860582ea9c13e86 diff --git a/pv/widgets/wellarray.cpp b/pv/widgets/wellarray.cpp index a5979db..dcc3b41 100644 --- a/pv/widgets/wellarray.cpp +++ b/pv/widgets/wellarray.cpp @@ -39,8 +39,6 @@ ** ****************************************************************************/ -#define QT_NO_MENU - #include #include #include @@ -220,11 +218,6 @@ void QWellArray::setSelected(int row, int col) updateCell(selRow, selCol); if (row >= 0) emit selected(row, col); - -#ifndef QT_NO_MENU - if (isVisible() && qobject_cast(parentWidget())) - parentWidget()->close(); -#endif } void QWellArray::focusInEvent(QFocusEvent*)