mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-04-23 07:59:23 -04:00
UI: Show link to release notes in Help menu
This commit is contained in:
@@ -523,6 +523,10 @@ OBSBasic::OBSBasic(QWidget *parent)
|
||||
QPoint newPos = curPos + statsDockPos;
|
||||
statsDock->move(newPos);
|
||||
|
||||
#ifdef HAVE_OBSCONFIG_H
|
||||
ui->actionReleaseNotes->setVisible(true);
|
||||
#endif
|
||||
|
||||
ui->previewDisabledWidget->setContextMenuPolicy(Qt::CustomContextMenu);
|
||||
connect(ui->enablePreviewButton, &QPushButton::clicked, this,
|
||||
&OBSBasic::TogglePreview);
|
||||
@@ -8308,6 +8312,14 @@ void OBSBasic::on_actionShowWhatsNew_triggered()
|
||||
#endif
|
||||
}
|
||||
|
||||
void OBSBasic::on_actionReleaseNotes_triggered()
|
||||
{
|
||||
QString addr("https://github.com/obsproject/obs-studio/releases");
|
||||
QUrl url(QString("%1/%2").arg(addr, obs_get_version_string()),
|
||||
QUrl::TolerantMode);
|
||||
QDesktopServices::openUrl(url);
|
||||
}
|
||||
|
||||
void OBSBasic::on_actionShowSettingsFolder_triggered()
|
||||
{
|
||||
char path[512];
|
||||
|
||||
Reference in New Issue
Block a user