mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-03-06 07:36:12 -05:00
UI: Fix placeholder element not being deleted
This commit is contained in:
@@ -34,7 +34,9 @@ OBSAbout::OBSAbout(QWidget *parent) : QDialog(parent), ui(new Ui::OBSAbout)
|
||||
|
||||
ui->contribute->setText(QTStr("About.Contribute"));
|
||||
|
||||
if (!steam) {
|
||||
if (steam) {
|
||||
delete ui->donate;
|
||||
} else {
|
||||
ui->donate->setText(
|
||||
" <a href='https://obsproject.com/contribute'>" +
|
||||
QTStr("About.Donate") + "</a>");
|
||||
|
||||
Reference in New Issue
Block a user