]> sigrok.org Git - pulseview.git/blobdiff - pv/widgets/wellarray.cpp
Session: Fix issue #67 by improving error handling
[pulseview.git] / pv / widgets / wellarray.cpp
index 4e3382ba9153c90a2bcc962f03bdd7872e22a39a..655ad87ef5639d8f9d11b14686b73eacbe0587f7 100644 (file)
@@ -39,8 +39,8 @@
 **
 ****************************************************************************/
 
-#include <QPainter>
 #include <QPaintEvent>
+#include <QPainter>
 #include <QStyle>
 #include <QStyleOptionFrame>
 
@@ -220,7 +220,7 @@ void WellArray::setSelected(int row, int col)
     updateCell(oldRow, oldCol);
     updateCell(selRow, selCol);
     if (row >= 0)
-        Q_EMIT selected(row, col);
+        selected(row, col);
 }
 
 void WellArray::focusInEvent(QFocusEvent*)
@@ -252,7 +252,6 @@ QBrush WellArray::cellBrush(int row, int col)
 }
 
 
-
 /*!\reimp
 */