Bug report #3925

QgsMapLayer::draw must return a value

Added by Mateusz Loskot - almost 18 years ago. Updated over 14 years ago.

Assignee:Gary Sherman
Affected QGIS version: Regression?:No
Operating System:All Easy fix?:No
Pull Request or Patch supplied: Resolution:fixed
Crashes QGIS or corrupts data: Copied to github as #:13949


bool QgsMapLayer::draw(QPainter *, QgsRect *, QgsMapToPixel *)

is a non-void function so it must return a value.

gui-qgsmaplayer.cpp-mloskot-20060314.patch Magnifier - Patch that fixes bug in this Ticket (419 Bytes) Mateusz Loskot -, 2006-03-24 02:12 PM


#1 Updated by Mateusz Loskot - almost 18 years ago

Body of this QgsMapLayer::draw member function is empty, so I decided to return false, temporarily.

#2 Updated by Gary Sherman almost 18 years ago

  • Resolution set to fixed
  • Status changed from Open to Closed

Fixed in HEAD

#3 Updated by Anonymous over 14 years ago

Milestone Version 0.8 deleted

Also available in: Atom PDF