From 1af53b66060975afe70055fb72265ff0922566da Mon Sep 17 00:00:00 2001 From: Joel Holdsworth Date: Sat, 18 Jan 2014 10:12:03 +0000 Subject: [PATCH] QWellArray: Removed QT_NO_MENU functionality This fixes bug #265 --- pv/widgets/wellarray.cpp | 7 ------- 1 file changed, 7 deletions(-) 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*) -- 2.30.2