UI: Use icons from theme on Linux
This commit is contained in:
parent
f27a00d266
commit
2080051b9f
4 changed files with 12 additions and 6 deletions
|
|
@ -139,7 +139,8 @@ OBSBasicStats::OBSBasicStats(QWidget *parent, bool closeable)
|
|||
resize(800, 280);
|
||||
|
||||
setWindowTitle(QTStr("Basic.Stats"));
|
||||
setWindowIcon(QIcon(":/res/images/obs.png"));
|
||||
setWindowIcon(QIcon::fromTheme("obs", QIcon(":/res/images/obs.png")));
|
||||
|
||||
setWindowModality(Qt::NonModal);
|
||||
setAttribute(Qt::WA_DeleteOnClose, true);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue