commit
7241366ad8
|
@ -3596,9 +3596,13 @@ void OBSBasic::changeEvent(QEvent *event)
|
|||
void OBSBasic::on_actionShow_Recordings_triggered()
|
||||
{
|
||||
const char *mode = config_get_string(basicConfig, "Output", "Mode");
|
||||
const char *type = config_get_string(basicConfig, "AdvOut", "RecType");
|
||||
const char *adv_path = strcmp(type, "Standard") ?
|
||||
config_get_string(basicConfig, "AdvOut", "FFFilePath") :
|
||||
config_get_string(basicConfig, "AdvOut", "RecFilePath");
|
||||
const char *path = strcmp(mode, "Advanced") ?
|
||||
config_get_string(basicConfig, "SimpleOutput", "FilePath") :
|
||||
config_get_string(basicConfig, "AdvOut", "RecFilePath");
|
||||
config_get_string(basicConfig, "SimpleOutput", "FilePath") :
|
||||
adv_path;
|
||||
QDesktopServices::openUrl(QUrl::fromLocalFile(path));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue