From: Joel Holdsworth Date: Sat, 18 Jan 2014 10:12:03 +0000 (+0000) Subject: QWellArray: Removed QT_NO_MENU functionality X-Git-Tag: pulseview-0.2.0~138 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=1af53b66060975afe70055fb72265ff0922566da;p=pulseview.git QWellArray: Removed QT_NO_MENU functionality This fixes bug #265 --- diff --git a/pv/widgets/wellarray.cpp b/pv/widgets/wellarray.cpp index a5979db7..dcc3b417 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*)