Bug report #9942

DB Manager related python warning when launching qgis

Added by Giovanni Manghi over 10 years ago. Updated over 10 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:DB Manager
Affected QGIS version:2.2.0 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:18445

Description

warning:/usr/share/qgis/python/plugins/db_manager/layer_preview.py:42: DeprecationWarning: QgsMapCanvas.useImageToRender() is deprecated
self.useImageToRender( settings.value( "/qgis/use_qimage_to_render", False, type=bool ) )

traceback: File "/usr/share/qgis/python/plugins/db_manager/db_manager_plugin.py", line 67, in run
self.dlg = DBManager(self.iface, self.iface.mainWindow())
File "/usr/share/qgis/python/plugins/db_manager/db_manager.py", line 43, in init
self.setupUi()
File "/usr/share/qgis/python/plugins/db_manager/db_manager.py", line 346, in setupUi
self.preview = LayerPreview(self)

this happens on master/linux

Associated revisions

Revision 480ae45f
Added by Jürgen Fischer over 10 years ago

remove QgsMapCanvas.useImageToRender in db_manager (fixes #9942)

History

#1 Updated by Jürgen Fischer over 10 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF