Picard: support for opening supported mimetypes (#4537)

This commit is contained in:
Philipp Wolfer
2020-01-09 20:10:00 +01:00
committed by Sergei Reznikov
parent ae584c95ae
commit 1d7e3067b7
3 changed files with 64 additions and 2 deletions

View File

@@ -36,3 +36,30 @@ index 857b7850..d3decda5 100644
move = []
--
2.23.0
From b240d3d6dc668dca0408807053633e432d48660c Mon Sep 17 00:00:00 2001
From: Philipp Wolfer <ph.wolfer@gmail.com>
Date: Thu, 9 Jan 2020 08:11:49 +0000
Subject: [PATCH 5/5] Fix initialization of QApplication with argv
---
picard/tagger.py | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/picard/tagger.py b/picard/tagger.py
index 65a2a985..f43c48bb 100644
--- a/picard/tagger.py
+++ b/picard/tagger.py
@@ -143,9 +143,7 @@ class Tagger(QtWidgets.QApplication):
if not IS_MACOS and not IS_HAIKU:
self.setStyle('Fusion')
- # Set the WM_CLASS to 'MusicBrainz-Picard' so desktop environments
- # can use it to look up the app
- super().__init__(['MusicBrainz-Picard'] + unparsed_args)
+ super().__init__(sys.argv)
self.__class__.__instance = self
config._setup(self, picard_args.config_file)
--
2.24.1