Commit 87a127e3 authored by Harald Sitter's avatar Harald Sitter 🏳️‍🌈
Browse files

make sure the native qt dialog shows octet-stream as mime option

otherwise it'd refuse to accept our default value and just pick the
first value in the list

BUG: 459326
parent 391eceda
Pipeline #248987 passed with stage
in 2 minutes and 4 seconds
SPDX-FileCopyrightText: 2005 Max Howell <>
SPDX-FileCopyrightText: 2007 Ian Monroe <>
SPDX-FileCopyrightText: 2022 Harald Sitter <>
SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
......@@ -614,7 +615,9 @@ MainWindow::openFileDialog()
//temporary fixes for MimeTypes that Xine does support but it doesn't return - this is a Xine bug.
mimeFilter << QLatin1String( "audio/x-flac");
mimeFilter << QLatin1String( "video/mp4" );
mimeFilter << QLatin1String( "application/x-cd-image" ); // added for *.iso images
mimeFilter << QLatin1String("application/x-cd-image"); // added for *.iso images
// everything. Must be here or the native Qt dialog doesn't want to default to it!
mimeFilter << QLatin1String("application/octet-stream");
static QUrl lastDirectory;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment