]> sigrok.org Git - pulseview.git/blobdiff - pv/view/timemarker.hpp
ViewPort: Make ViewItemPaintParams mutable
[pulseview.git] / pv / view / timemarker.hpp
index 2280363a4c127697b1e09759e82793e9856e4ba9..dba52fa4efa5642a76c9c1150750d664bcadfd59 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/>.
  */
 
 #ifndef PULSEVIEW_PV_VIEWS_TRACEVIEW_MARKER_HPP
@@ -109,7 +108,7 @@ public:
         * @param p the QPainter to paint into.
         * @param pp the painting parameters object to paint with.
         */
-       void paint_fore(QPainter &p, const ViewItemPaintParams &pp) override;
+       void paint_fore(QPainter &p, ViewItemPaintParams &pp) override;
 
        virtual pv::widgets::Popup* create_popup(QWidget *parent) override;