]> sigrok.org Git - pulseview.git/blobdiff - pv/widgets/hidingmenubar.hpp
Fix #805 by resetting selected device on failure
[pulseview.git] / pv / widgets / hidingmenubar.hpp
index bd9a1151de27d42a71e9a6c883a81ec44c3436fb..9e75e281815f11c7e53ff479552cf5d22ad46ea1 100644 (file)
@@ -18,8 +18,8 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
-#ifndef PULSEVIEW_PV_WIDGETS_HIDINGMENUBAR_H
-#define PULSEVIEW_PV_WIDGETS_HIDINGMENUBAR_H
+#ifndef PULSEVIEW_PV_WIDGETS_HIDINGMENUBAR_HPP
+#define PULSEVIEW_PV_WIDGETS_HIDINGMENUBAR_HPP
 
 #include <QMenuBar>
 
@@ -45,13 +45,13 @@ private:
         * Handles the event that the widget loses keyboard focus.
         * @param e the representation of the event details.
         */
-       void focusOutEvent(QFocusEvent *e);
+       void focusOutEvent(QFocusEvent *event);
 
        /**
         * Handles the event that a key is depressed.
         * @param e the representation of the event details.
         */
-       void keyPressEvent(QKeyEvent *e);
+       void keyPressEvent(QKeyEvent *event);
 
 private Q_SLOTS:
        /**
@@ -63,4 +63,4 @@ private Q_SLOTS:
 } // widgets
 } // pv
 
-#endif // PULSEVIEW_PV_WIDGETS_HIDINGMENUBAR_H
+#endif // PULSEVIEW_PV_WIDGETS_HIDINGMENUBAR_HPP