Bug report #3925

QgsMapLayer::draw must return a value

Added by Mateusz Loskot - over 18 years ago. Updated over 15 years ago.

Status:Closed
Priority:Low
Assignee:Gary Sherman
Category:Vectors
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

Description

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

History

#1 Updated by Mateusz Loskot - over 18 years ago

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

#2 Updated by Gary Sherman over 18 years ago

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

Fixed in HEAD

#3 Updated by Anonymous over 15 years ago

Milestone Version 0.8 deleted

Also available in: Atom PDF