Bug report #3925
QgsMapLayer::draw must return a value
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.
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