mirror of
https://github.com/rbreu/beeref.git
synced 2026-03-11 08:54:28 +00:00
Fix deprecation warning
This commit is contained in:
parent
9fa50a323c
commit
33deab8ad6
1 changed files with 2 additions and 2 deletions
|
|
@ -98,8 +98,8 @@ class BeeGraphicsView(QtWidgets.QGraphicsView, ActionsMixin):
|
|||
return ' '.join(formats)
|
||||
|
||||
def get_view_center(self):
|
||||
return QtCore.QPoint(self.size().width() / 2,
|
||||
self.size().height() / 2)
|
||||
return QtCore.QPoint(round(self.size().width() / 2),
|
||||
round(self.size().height() / 2))
|
||||
|
||||
def clear_scene(self):
|
||||
logging.debug('Clearing scene...')
|
||||
|
|
|
|||
Loading…
Reference in a new issue