Commit 7c265f04 by Carwyn

1. 闪烁不能正常刷新修正

parent beca7d07
......@@ -76,6 +76,6 @@ bool FMPFlicker::setNotifyPixmap(const QString &pix)
void FMPFlicker::onOpacityChanged(const QVariant &v)
{
_opacity = v.toReal();
update(_notify.rect());
update(_normal.rect());
}
......@@ -138,7 +138,7 @@ void FMPHomePrivate::onMenuBtnClicked(QString btnName)
svc = q->GetService<FMPePayInterface>(q->_ctx);
} else if(btnName == "vip") {
svc = q->GetService<FMPVipInterface>(q->_ctx);
q->blink((FMPluginInterface*)svc, "C:/Users/Amor/Documents/QProjects/fmPos/fmp_home/res/img/fm_neworder.png");
q->blink((FMPluginInterface*)svc, ":/image/float_remind.png");
} else if(btnName == "takeout") {
svc = q->GetService<FMPTakeoutInterface>(q->_ctx);
} else if(btnName == "coupons") {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment