Skip to content

Commit

Permalink
fix svgviewer example
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanmelt committed Oct 18, 2010
1 parent 4fcaecd commit a36f37e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions KNOWN_ISSUES.txt
Expand Up @@ -5,5 +5,4 @@
5. http example fails - undefined method empty? for nil
6. textures example fails - Cannot handle Gluint
7. fontsample example fails - undefined method checkState for nil
8. svgviewer example fails - undefined method rx= for Qt::Point
9. passivepopup example fails - seg fault
8. passivepopup example fails - seg fault
4 changes: 2 additions & 2 deletions examples/painting/svgviewer/svgwindow.rb
Expand Up @@ -62,8 +62,8 @@ def renderer=(type = Native)

def mousePressEvent(event)
@mousePressPos = event.pos
@scrollBarValuesOnMousePress.rx = horizontalScrollBar.value
@scrollBarValuesOnMousePress.ry = verticalScrollBar.value
@scrollBarValuesOnMousePress.x = horizontalScrollBar.value
@scrollBarValuesOnMousePress.y = verticalScrollBar.value
event.accept
end

Expand Down

0 comments on commit a36f37e

Please sign in to comment.