UI: Fix stats widget appearance on Yami themes

- QSS changes fix background color on the stats dialog.
- Making OBSBasicStats derive from QFrame fixes the background color
and round bottom corners on the stats dock.
This commit is contained in:
tytan652 2022-10-18 19:56:37 +02:00 • committed by Ryan Foster
commit 15689fd4bd
7 changed files with 27 additions and 2 deletions

View file

@ -49,7 +49,7 @@ static QString MakeMissedFramesText(uint32_t total_lagged,
}
OBSBasicStats::OBSBasicStats(QWidget *parent, bool closeable)
: QWidget(parent),
: QFrame(parent),
cpu_info(os_cpu_usage_info_start()),
timer(this),
recTimeLeft(this)