fix: 移除main_window.py中错误的QtGui.QMessageBox导入

QMessageBox属于QtWidgets模块,不属于QtGui模块
This commit is contained in:
congsh
2026-02-12 11:11:46 +08:00
parent 114f432f09
commit a3fc2517a7

View File

@@ -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