X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fwidgets%2Fcolourbutton.cpp;h=06c82c30f496842cf4ff6754cdc29d351cb4dcf9;hb=b14db788ee3483eed195c1e73a1ab85ea8c41e47;hp=13b9673894db39274472c9882550fd055077e0e6;hpb=2ad82c2e40b6865481733913a2c32735602f63c4;p=pulseview.git
diff --git a/pv/widgets/colourbutton.cpp b/pv/widgets/colourbutton.cpp
index 13b9673..06c82c3 100644
--- a/pv/widgets/colourbutton.cpp
+++ b/pv/widgets/colourbutton.cpp
@@ -14,13 +14,12 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ * along with this program; if not, see .
*/
#include "colourbutton.hpp"
-#include
+#include
#include
#include
@@ -90,9 +89,9 @@ void ColourButton::on_selected(int row, int col)
selected(cur_colour_);
}
-void ColourButton::paintEvent(QPaintEvent *e)
+void ColourButton::paintEvent(QPaintEvent *event)
{
- QPushButton::paintEvent(e);
+ QPushButton::paintEvent(event);
QPainter p(this);