Skip to content

Commit

Permalink
Fixed notification center entry background color turning black when o…
Browse files Browse the repository at this point in the history
…pening edit box(修复打开编辑框时,通知中心条目最底层widget底色变黑)
  • Loading branch information
liushanwen1997 committed Jan 12, 2021
1 parent 15a8dc7 commit 6197771
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/plugins/ukui-sidebar-notification/appmsg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ AppMsg::AppMsg(NotificationPlugin *parent, QString strAppName, bool bTakeInFlag)

//发个统计收纳数更新信号
connect(this, SIGNAL(Sig_countTakeInBitAndUpate()), parent, SLOT(onCountTakeInBitAndUpate()));

this->setStyleSheet("background:transparent");
return;
}

Expand All @@ -87,8 +87,7 @@ void AppMsg::paintEvent(QPaintEvent *)
p.setPen(Qt::transparent);

p.drawRoundedRect(rect,6,6);


return;
}
//统计应用剩余显示条数
void AppMsg::statisticLeftItem()
Expand Down

0 comments on commit 6197771

Please sign in to comment.