Skip to content

Commit

Permalink
[dbmanager] fix DeprecationWarning
Browse files Browse the repository at this point in the history
  • Loading branch information
slarosa committed Jun 7, 2016
1 parent a03e28b commit a8cf02a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/db_manager/layer_preview.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def __init__(self, parent=None):
self.enableAntiAliasing(settings.value("/qgis/enable_anti_aliasing", False, type=bool))
action = settings.value("/qgis/wheel_action", 0, type=float)
zoomFactor = settings.value("/qgis/zoom_factor", 2, type=float)
self.setWheelAction(QgsMapCanvas.WheelAction(action), zoomFactor)
self.setWheelFactor(zoomFactor)

def refresh(self):
self.setDirty(True)
Expand Down

0 comments on commit a8cf02a

Please sign in to comment.