mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-24 23:31:36 +08:00
UI: Add menu to visit website to basic main window
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user