]> sigrok.org Git - pulseview.git/blobdiff - pv/view/signalscalehandle.cpp
Fix #957 and #874 by implementing the pane splitter
[pulseview.git] / pv / view / signalscalehandle.cpp
index 074bfb125fbadb1d6c67a37343c63e4e2596dd3f..20a4cad427338ab92bb9ce36b663954155a746c2 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 <algorithm>
@@ -80,7 +79,7 @@ QRectF SignalScaleHandle::hit_box_rect(const ViewItemPaintParams &pp) const
                text_height, text_height);
 }
 
-void SignalScaleHandle::paint_fore(QPainter &p, const ViewItemPaintParams &pp)
+void SignalScaleHandle::paint_fore(QPainter &p, ViewItemPaintParams &pp)
 {
        if (!enabled())
                return;