diff libgui/graphics/GenericEventNotify.h @ 18931:dbb207d10d7c

eliminate some shadowed variable declaration warnings * BaseControl.cc, Container.cc, ContextMenu.cc, Figure.cc, FigureWindow.cc, GLCanvas.cc, GenericEventNotify.h, Menu.cc, MouseModeActionGroup.cc, Panel.cc, TextEdit.cc, TextEdit.h, ToolBar.cc: Avoid shadowed variable declaration warnings.
author John W. Eaton <jwe@octave.org>
date Thu, 17 Jul 2014 10:27:24 -0400
parents 523878f76518
children
line wrap: on
line diff
--- a/libgui/graphics/GenericEventNotify.h	Thu Jul 17 09:33:27 2014 -0400
+++ b/libgui/graphics/GenericEventNotify.h	Thu Jul 17 10:27:24 2014 -0400
@@ -86,7 +86,7 @@
 class T : public B, public GenericEventNotifySender \
 { \
 public: \
-  T (QWidget* parent) : B (parent), GenericEventNotifySender () { } \
+  T (QWidget* xparent) : B (xparent), GenericEventNotifySender () { } \
   ~ T (void) { } \
 \
   bool event (QEvent* evt) \