mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-03-05 23:26:13 -05:00
Add File -> "Show Recordings" menu entry
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
#include <obs.hpp>
|
||||
#include <QMessageBox>
|
||||
#include <QShowEvent>
|
||||
#include <QDesktopServices>
|
||||
#include <QFileDialog>
|
||||
#include <QNetworkRequest>
|
||||
#include <QNetworkReply>
|
||||
@@ -1415,6 +1416,13 @@ void OBSBasic::on_action_Save_triggered()
|
||||
/* TODO */
|
||||
}
|
||||
|
||||
void OBSBasic::on_actionShow_Recordings_triggered()
|
||||
{
|
||||
const char *path = config_get_string(basicConfig,
|
||||
"SimpleOutput", "FilePath");
|
||||
QDesktopServices::openUrl(QUrl::fromLocalFile(path));
|
||||
}
|
||||
|
||||
void OBSBasic::on_action_Settings_triggered()
|
||||
{
|
||||
OBSBasicSettings settings(this);
|
||||
|
||||
Reference in New Issue
Block a user