mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-15 07:44:10 +00:00
UI: Fix placeholder element not being deleted
This commit is contained in:
parent
82c734892c
commit
1eedf4b50d
|
@ -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>");
|
||||
|
|
Loading…
Reference in a new issue