diff --git a/src/vorta/views/main_window.py b/src/vorta/views/main_window.py index acf76aef..335f2aaf 100644 --- a/src/vorta/views/main_window.py +++ b/src/vorta/views/main_window.py @@ -180,7 +180,7 @@ def profile_delete_action(self): else: warn = self.tr("Cannot delete the last profile.") - point = QPoint(0, self.profileDeleteButton.size().height() / 2) + point = QPoint(0, int(self.profileDeleteButton.size().height() / 2)) QToolTip.showText(self.profileDeleteButton.mapToGlobal(point), warn) def profile_add_action(self):