Browse Source

shared_canvasjack.py: fix pyqt includes

pull/362/head
Nedko Arnaudov 1 year ago
parent
commit
30cc8dd99c
1 changed files with 4 additions and 11 deletions
  1. +4
    -11
      src/shared_canvasjack.py

+ 4
- 11
src/shared_canvasjack.py View File

@@ -16,17 +16,10 @@
# #
# For a full copy of the GNU General Public License see the COPYING file # For a full copy of the GNU General Public License see the COPYING file


# ------------------------------------------------------------------------------------------------------------
# Imports (Global)

if True:
from PyQt5.QtCore import pyqtSlot, QTimer
from PyQt5.QtGui import QCursor, QFontMetrics, QImage, QPainter
from PyQt5.QtWidgets import QMainWindow, QMenu
else:
from PyQt4.QtCore import pyqtSlot, QTimer
from PyQt4.QtGui import QCursor, QFontMetrics, QImage, QPainter
from PyQt4.QtGui import QMainWindow, QMenu
from PyQt5.QtCore import pyqtSlot, QTimer
from PyQt5.QtCore import pyqtSignal
from PyQt5.QtGui import QCursor, QFontMetrics, QImage, QPainter
from PyQt5.QtWidgets import QMainWindow, QMenu


# ------------------------------------------------------------------------------------------------------------ # ------------------------------------------------------------------------------------------------------------
# Imports (Custom Stuff) # Imports (Custom Stuff)


Loading…
Cancel
Save