Addon Manager: Qt6 migration part 1, use PySide

Migrate all uses of "import PySide 2" to use "import PySide" so that the
FreeCAD-provided wrappers can switch between Qt versions.
This commit is contained in:
Chris Hennes
2022-11-06 13:19:36 +01:00
committed by wwmayer
parent 06922ae093
commit b407332475
22 changed files with 56 additions and 58 deletions
+3 -3
View File
@@ -29,18 +29,18 @@ import subprocess
import FreeCAD
import FreeCADGui
from PySide2.QtWidgets import (
from PySide.QtWidgets import (
QFileDialog,
QListWidgetItem,
QDialog,
QSizePolicy,
QMessageBox,
)
from PySide2.QtGui import (
from PySide.QtGui import (
QIcon,
QPixmap,
)
from PySide2.QtCore import Qt
from PySide.QtCore import Qt
from addonmanager_git import GitManager, NoGitFound
from addonmanager_devmode_add_content import AddContent