|
|
@@ -205,8 +205,7 @@ void RemuxEntryPathItemDelegate::paint(QPainter *painter,
|
|
|
|
|
|
void RemuxEntryPathItemDelegate::handleBrowse(QWidget *container)
|
|
|
{
|
|
|
- QString OutputPattern = "(*.mp4 *.flv *.mov *.mkv *.ts *.m3u8)";
|
|
|
- QString InputPattern = "(*.flv *.mov *.mkv *.ts *.m3u8)";
|
|
|
+ QString ExtensionPattern = "(*.mp4 *.flv *.mov *.mkv *.ts *.m3u8)";
|
|
|
|
|
|
QLineEdit *text = container->findChild<QLineEdit *>();
|
|
|
|
|
|
@@ -218,7 +217,7 @@ void RemuxEntryPathItemDelegate::handleBrowse(QWidget *container)
|
|
|
if (isOutput) {
|
|
|
QString newPath = SaveFile(container,
|
|
|
QTStr("Remux.SelectTarget"),
|
|
|
- currentPath, OutputPattern);
|
|
|
+ currentPath, ExtensionPattern);
|
|
|
|
|
|
if (!newPath.isEmpty()) {
|
|
|
container->setProperty(PATH_LIST_PROP,
|
|
|
@@ -229,7 +228,7 @@ void RemuxEntryPathItemDelegate::handleBrowse(QWidget *container)
|
|
|
QStringList paths = OpenFiles(
|
|
|
container, QTStr("Remux.SelectRecording"), currentPath,
|
|
|
QTStr("Remux.OBSRecording") + QString(" ") +
|
|
|
- InputPattern);
|
|
|
+ ExtensionPattern);
|
|
|
|
|
|
if (!paths.empty()) {
|
|
|
container->setProperty(PATH_LIST_PROP, paths);
|