mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-11-02 17:31:32 +01:00
18 lines
631 B
Diff
18 lines
631 B
Diff
diff --git a/vidcutter/about.py b/vidcutter/about.py
|
|
index 4c8ea44..102f8b3 100644
|
|
--- a/vidcutter/about.py
|
|
+++ b/vidcutter/about.py
|
|
@@ -26,7 +26,11 @@ import logging
|
|
import sys
|
|
from datetime import datetime
|
|
|
|
-from PyQt5.Qt import PYQT_VERSION_STR
|
|
+# import changed in PyQt 5.15.8, so try both
|
|
+try:
|
|
+ from PyQt5.Qt import PYQT_VERSION_STR
|
|
+except ImportError:
|
|
+ from PyQt5.QtCore import PYQT_VERSION_STR
|
|
from PyQt5.QtCore import QFile, QObject, QSize, QTextStream, Qt
|
|
from PyQt5.QtGui import QPixmap
|
|
from PyQt5.QtWidgets import (QDialog, QDialogButtonBox, QHBoxLayout, QLabel, QScrollArea, QSizePolicy, QStyleFactory,
|