From 32506093fee206dc4e2e5f7b084b672ddfeb1c1b Mon Sep 17 00:00:00 2001 From: Andy Dodd Date: Wed, 26 Oct 2022 20:48:20 -0400 Subject: [PATCH] Use proper clipboard mode - the current mode callout causes "no such attribute" errors on recent PySide6 installs --- pyremoteplay/gui/options.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyremoteplay/gui/options.py b/pyremoteplay/gui/options.py index 7f36508..a711081 100644 --- a/pyremoteplay/gui/options.py +++ b/pyremoteplay/gui/options.py @@ -503,8 +503,8 @@ def new_account(self): "When you reach this page, copy the page URL and click 'Ok' to continue" ) clipboard = QtWidgets.QApplication.clipboard() - clipboard.clear(mode=clipboard.Clipboard) - clipboard.setText(login_url, mode=clipboard.Clipboard) + clipboard.clear(mode=clipboard.Mode.Clipboard) + clipboard.setText(login_url, mode=clipboard.Mode.Clipboard) if not dialog.exec(): return