UI: Add menu to visit website to basic main window
This commit is contained in:
parent
c6a3287a16
commit
f15965e721
4 changed files with 16 additions and 0 deletions
|
|
@ -2726,6 +2726,12 @@ void OBSBasic::on_settingsButton_clicked()
|
|||
settings.exec();
|
||||
}
|
||||
|
||||
void OBSBasic::on_actionWebsite_triggered()
|
||||
{
|
||||
QUrl url = QUrl("https://obsproject.com", QUrl::TolerantMode);
|
||||
QDesktopServices::openUrl(url);
|
||||
}
|
||||
|
||||
void OBSBasic::on_preview_customContextMenuRequested(const QPoint &pos)
|
||||
{
|
||||
CreateSourcePopupMenu(ui->sources->currentItem(), true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue