fix: 移除main_window.py中错误的QtGui.QMessageBox导入
QMessageBox属于QtWidgets模块,不属于QtGui模块
This commit is contained in:
@@ -20,7 +20,7 @@ from PyQt6.QtWidgets import (
|
|||||||
QMessageBox
|
QMessageBox
|
||||||
)
|
)
|
||||||
from PyQt6.QtCore import Qt, QSize, pyqtSignal, QThread, QTimer
|
from PyQt6.QtCore import Qt, QSize, pyqtSignal, QThread, QTimer
|
||||||
from PyQt6.QtGui import QIcon, QShortcut, QKeySequence, QMessageBox
|
from PyQt6.QtGui import QIcon, QShortcut, QKeySequence
|
||||||
from src.core.ocr import ensure_paddleocr
|
from src.core.ocr import ensure_paddleocr
|
||||||
|
|
||||||
from src.gui.styles import ThemeStyles
|
from src.gui.styles import ThemeStyles
|
||||||
|
|||||||
Reference in New Issue
Block a user