]> sigrok.org Git - pulseview.git/blobdiff - pv/widgets/colourbutton.cpp
license: remove FSF postal address from boiler plate license text
[pulseview.git] / pv / widgets / colourbutton.cpp
index 13b9673894db39274472c9882550fd055077e0e6..6e991c7e8cf562960a9de62220ebd81d406bc0ba 100644 (file)
@@ -14,8 +14,7 @@
  * 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 <http://www.gnu.org/licenses/>.
  */
 
 #include "colourbutton.hpp"
@@ -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);