修复邮件发送模块不支持Qt6的BUG

This commit is contained in:
feiyangqingyun
2022-04-26 16:56:56 +08:00
parent 7d5ac875a9
commit 4f2801a821
28 changed files with 100 additions and 112 deletions

View File

@@ -44,11 +44,7 @@ LunarCalendarItem::LunarCalendarItem(QWidget *parent) : QWidget(parent)
hoverBgColor = QColor(204, 183, 180);
}
#if (QT_VERSION >= QT_VERSION_CHECK(6,0,0))
void LunarCalendarItem::enterEvent(QEnterEvent *)
#else
void LunarCalendarItem::enterEvent(QEvent *)
#endif
{
hover = true;
this->update();