UI: Hide donation CTA when running via Steam
This commit is contained in:
parent
10e677521c
commit
b327877c67
1 changed files with 8 additions and 5 deletions
|
|
@ -33,11 +33,14 @@ OBSAbout::OBSAbout(QWidget *parent) : QDialog(parent), ui(new Ui::OBSAbout)
|
|||
ui->version->setText(ver + bitness);
|
||||
|
||||
ui->contribute->setText(QTStr("About.Contribute"));
|
||||
ui->donate->setText(
|
||||
" <a href='https://obsproject.com/contribute'>" +
|
||||
QTStr("About.Donate") + "</a>");
|
||||
ui->donate->setTextInteractionFlags(Qt::TextBrowserInteraction);
|
||||
ui->donate->setOpenExternalLinks(true);
|
||||
|
||||
if (!steam) {
|
||||
ui->donate->setText(
|
||||
" <a href='https://obsproject.com/contribute'>" +
|
||||
QTStr("About.Donate") + "</a>");
|
||||
ui->donate->setTextInteractionFlags(Qt::TextBrowserInteraction);
|
||||
ui->donate->setOpenExternalLinks(true);
|
||||
}
|
||||
|
||||
ui->getInvolved->setText(
|
||||
" <a href='https://github.com/obsproject/obs-studio/blob/master/CONTRIBUTING.rst'>" +
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue