Various minor whitespace and consistency fixes.
[pulseview.git] / pv / widgets / colourbutton.cpp
index cf930f65a5f945cc4dcbd794e99565bf8df06d9a..13b9673894db39274472c9882550fd055077e0e6 100644 (file)
@@ -18,7 +18,7 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
-#include "colourbutton.h"
+#include "colourbutton.hpp"
 
 #include <assert.h>
 
@@ -58,9 +58,7 @@ void ColourButton::set_colour(QColor colour)
 
        for (unsigned int r = 0; r < rows; r++)
                for (unsigned int c = 0; c < cols; c++)
-                       if (popup_.well_array().cellBrush(r, c).color() ==
-                               colour)
-                       {
+                       if (popup_.well_array().cellBrush(r, c).color() == colour) {
                                popup_.well_array().setSelected(r, c);
                                popup_.well_array().setCurrent(r, c);
                                return;