diff options
Diffstat (limited to 'media-libs/libffado/files/libffado-2.4.7-fix-config-load-crash.patch')
-rw-r--r-- | media-libs/libffado/files/libffado-2.4.7-fix-config-load-crash.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/media-libs/libffado/files/libffado-2.4.7-fix-config-load-crash.patch b/media-libs/libffado/files/libffado-2.4.7-fix-config-load-crash.patch new file mode 100644 index 000000000000..05ede6ebf653 --- /dev/null +++ b/media-libs/libffado/files/libffado-2.4.7-fix-config-load-crash.patch @@ -0,0 +1,13 @@ +diff --git a/libffado-2.4.1/support/mixer-qt4/ffado/mixer/globalmixer.py b/libffado-2.4.1-patched/support/mixer-qt4/ffado/mixer/globalmixer.py +index 7078b0e..d184d73 100644 +--- libffado-2.4.1-old/support/mixer-qt4/ffado/mixer/globalmixer.py ++++ libffado-2.4.1/support/mixer-qt4/ffado/mixer/globalmixer.py +@@ -96,7 +96,6 @@ class GlobalMixer(QWidget): + @pyqtSlot() + def on_txtNickname_returnPressed( self ): + if self.nickname.canChangeValue(): +- asciiData = self.txtNickname.text().toAscii() +- self.nickname.setText( asciiData.data() ) ++ self.nickname.setText( self.txtNickname.text().encode('utf-8') ) + else: + self.txtNickname.setText( self.nickname.text() ) |