|
30 | 30 | from PyQt5.QtWidgets import QSizePolicy, QWidget, QPushButton
|
31 | 31 | import openshot # Python module for libopenshot (required video editing module installed separately)
|
32 | 32 |
|
| 33 | +from classes import info, updates, openshot_rc |
33 | 34 | from classes.logger import log
|
34 | 35 | from classes.app import get_app
|
35 | 36 | from classes.query import Clip
|
36 |
| -from classes import updates |
37 |
| -from classes import info |
38 | 37 |
|
39 | 38 | import os
|
40 | 39 | import json
|
@@ -803,16 +802,17 @@ def __init__(self, *args):
|
803 | 802 | self.resize_button.setMouseTracking(True)
|
804 | 803 |
|
805 | 804 | # Initialize cursors
|
806 |
| - self.cursors = { "move": QPixmap(os.path.join(info.IMAGES_PATH, "cursor_move.png")), |
807 |
| - "resize_x": QPixmap(os.path.join(info.IMAGES_PATH, "cursor_resize_x.png")), |
808 |
| - "resize_y": QPixmap(os.path.join(info.IMAGES_PATH, "cursor_resize_y.png")), |
809 |
| - "resize_bdiag": QPixmap(os.path.join(info.IMAGES_PATH, "cursor_resize_bdiag.png")), |
810 |
| - "resize_fdiag": QPixmap(os.path.join(info.IMAGES_PATH, "cursor_resize_fdiag.png")), |
811 |
| - "rotate": QPixmap(os.path.join(info.IMAGES_PATH, "cursor_rotate.png")), |
812 |
| - "shear_x": QPixmap(os.path.join(info.IMAGES_PATH, "cursor_shear_x.png")), |
813 |
| - "shear_y": QPixmap(os.path.join(info.IMAGES_PATH, "cursor_shear_y.png")), |
814 |
| - "hand": QPixmap(os.path.join(info.IMAGES_PATH, "cursor_hand.png")), |
815 |
| - } |
| 805 | + self.cursors = { |
| 806 | + "move": QPixmap(":/cursors/cursor_move.png"), |
| 807 | + "resize_x": QPixmap(":/cursors/cursor_resize_x.png"), |
| 808 | + "resize_y": QPixmap(":/cursors/cursor_resize_y.png"), |
| 809 | + "resize_bdiag": QPixmap(":/cursors/cursor_resize_bdiag.png"), |
| 810 | + "resize_fdiag": QPixmap(":/cursors/cursor_resize_fdiag.png"), |
| 811 | + "rotate": QPixmap(":/cursors/cursor_rotate.png"), |
| 812 | + "shear_x": QPixmap(":/cursors/cursor_shear_x.png"), |
| 813 | + "shear_y": QPixmap(":/cursors/cursor_shear_y.png"), |
| 814 | + "hand": QPixmap(":/cursors/cursor_hand.png"), |
| 815 | + } |
816 | 816 |
|
817 | 817 | # Mutex lock
|
818 | 818 | self.mutex = QMutex()
|
|
0 commit comments