~kubuntu-members/analitza/4.11

« back to all changes in this revision

Viewing changes to analitzagui/plotsview2d.h

  • Committer: Aleix Pol
  • Date: 2013-10-27 16:32:31 UTC
  • Revision ID: git-v1:0d8b51273fa82b53e2679c2d4f09f55612cfc58b
Fix crash in marchingsquares

Make sure we don't overflow when looking for the triangles... I think.
Improve the tests while at it.

BUG: 325077

Show diffs side-by-side

added added

removed removed

Lines of Context:
81
81
    
82
82
    void setSelectionModel(QItemSelectionModel* selection);
83
83
 
 
84
        virtual void showEvent(QShowEvent* ev);
 
85
 
84
86
public slots:
85
87
    /** Marks the image as dirty and repaints everything. */
86
88
    void forceRepaint() { valid=false; repaint(); }