Bug report #9942
DB Manager related python warning when launching qgis
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
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
Fixed in changeset 480ae45f9452e7cae98914b12cd9a05c07cf6bd2.