From 1da3a86ba209fd00639eb1134527e49c9d86a338 Mon Sep 17 00:00:00 2001 From: Juraj Oravec Date: Sat, 7 Dec 2024 15:13:22 +0100 Subject: [PATCH] Port to PySide6 Signed-off-by: Juraj Oravec --- .gitignore | 1 + CHANGELOG | 3 +++ unloader/Config.py | 2 +- unloader/__init__.py | 2 +- unloader/i18n.py | 2 +- unloader/manager.py | 2 +- unloader/metadata.desktop | 4 ++-- unloader/settingsDialog.py | 2 +- 8 files changed, 11 insertions(+), 7 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..bee8a64 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +__pycache__ diff --git a/CHANGELOG b/CHANGELOG index 870befb..c5aecdc 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +1.3.0: +- Port to PySide6 + 1.2.0: - Refactoring - Config diff --git a/unloader/Config.py b/unloader/Config.py index f4cfca7..3815841 100644 --- a/unloader/Config.py +++ b/unloader/Config.py @@ -15,7 +15,7 @@ # along with this program. If not, see . import os -from PySide2.QtCore import QObject, Signal, QSettings +from PySide6.QtCore import QObject, Signal, QSettings class Config(QObject): diff --git a/unloader/__init__.py b/unloader/__init__.py index 3c4cf01..f286f3d 100644 --- a/unloader/__init__.py +++ b/unloader/__init__.py @@ -18,7 +18,7 @@ # ============================================================ """ import Falkon -from PySide2 import QtCore +from PySide6 import QtCore from unloader.manager import UnloaderManager diff --git a/unloader/i18n.py b/unloader/i18n.py index 3db8440..48ab1d5 100644 --- a/unloader/i18n.py +++ b/unloader/i18n.py @@ -18,7 +18,7 @@ # ============================================================ import gettext import os -from PySide2 import QtCore +from PySide6 import QtCore locale = QtCore.QLocale.system() languages = [ diff --git a/unloader/manager.py b/unloader/manager.py index 81f7abb..6bf8468 100644 --- a/unloader/manager.py +++ b/unloader/manager.py @@ -20,7 +20,7 @@ import Falkon import os -from PySide2 import QtCore +from PySide6 import QtCore from unloader.Config import Config from unloader.settingsDialog import SettingsDialog diff --git a/unloader/metadata.desktop b/unloader/metadata.desktop index 61d27d5..504e49f 100644 --- a/unloader/metadata.desktop +++ b/unloader/metadata.desktop @@ -6,6 +6,6 @@ Type=Service X-Falkon-Type=Extension/Python X-Falkon-Author=Juraj Oravec -X-Falkon-Email=sgd.orava@gmail.com -X-Falkon-Version=1.1.0 +X-Falkon-Email=jurajoravec@mailo.com +X-Falkon-Version=1.3.0 X-Falkon-Settings=true diff --git a/unloader/settingsDialog.py b/unloader/settingsDialog.py index 1d84a45..7caaf2f 100644 --- a/unloader/settingsDialog.py +++ b/unloader/settingsDialog.py @@ -17,7 +17,7 @@ # ============================================================ import os -from PySide2 import QtCore, QtWidgets, QtUiTools +from PySide6 import QtCore, QtWidgets, QtUiTools from unloader.i18n import i18n