]> sigrok.org Git - pulseview.git/blobdiff - pv/widgets/colourpopup.hpp
Fix #805 by resetting selected device on failure
[pulseview.git] / pv / widgets / colourpopup.hpp
index 9273b5da5e19228b8a115f57c0ae6deec9fbf6d8..bf6553680ae421f33aaf6389b8984dc76389e858 100644 (file)
@@ -18,8 +18,8 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
-#ifndef PULSEVIEW_PV_WIDGETS_COLOURPOPUP_H
-#define PULSEVIEW_PV_WIDGETS_COLOURPOPUP_H
+#ifndef PULSEVIEW_PV_WIDGETS_COLOURPOPUP_HPP
+#define PULSEVIEW_PV_WIDGETS_COLOURPOPUP_HPP
 
 #include "popup.hpp"
 #include "wellarray.hpp"
@@ -34,7 +34,7 @@ class ColourPopup : public Popup
        Q_OBJECT
 
 public:
-       ColourPopup(int rows, int cols, QWidget *partent);
+       ColourPopup(int rows, int cols, QWidget *parent);
 
        WellArray& well_array();
 
@@ -52,4 +52,4 @@ private:
 } // widgets
 } // pv
 
-#endif // PULSEVIEW_PV_WIDGETS_COLOURPOPUP_H
+#endif // PULSEVIEW_PV_WIDGETS_COLOURPOPUP_HPP