fix: import QGraphicsDropShadowEffect from QtWidgets not QtGui

- Fixed ImportError in floating_icon.py
- QGraphicsDropShadowEffect is in QtWidgets, not QtGui
This commit is contained in:
LemonNexus 2026-02-13 14:07:14 +00:00
parent 56a653bba6
commit bf7a2bb682
1 changed files with 2 additions and 2 deletions

View File

@ -5,9 +5,9 @@ In-game floating button with Phosphor solid icons.
"""
from pathlib import Path
from PyQt6.QtWidgets import QWidget, QVBoxLayout, QLabel, QApplication
from PyQt6.QtWidgets import QWidget, QVBoxLayout, QLabel, QApplication, QGraphicsDropShadowEffect
from PyQt6.QtCore import Qt, QPoint, pyqtSignal, QSize
from PyQt6.QtGui import QMouseEvent, QEnterEvent, QFont, QGraphicsDropShadowEffect, QColor, QPixmap, QPainter
from PyQt6.QtGui import QMouseEvent, QEnterEvent, QColor, QPixmap, QPainter
from PyQt6.QtSvg import QSvgRenderer