diff -r 572a009369f0 -r 23b45a742e17 IconEditor/IconEditorWindow.py --- a/IconEditor/IconEditorWindow.py Fri Jan 08 19:14:19 2010 +0000 +++ b/IconEditor/IconEditorWindow.py Sat Jan 09 19:43:36 2010 +0000 @@ -128,7 +128,7 @@ readFormats = QImageReader.supportedImageFormats() for readFormat in readFormats: try: - inputFormats.append(filters[str(readFormat)]) + inputFormats.append(filters[bytes(readFormat).decode()]) except KeyError: pass inputFormats.sort() @@ -139,7 +139,7 @@ writeFormats = QImageWriter.supportedImageFormats() for writeFormat in writeFormats: try: - outputFormats.append(filters[str(writeFormat)]) + outputFormats.append(filters[bytes(writeFormat).decode()]) except KeyError: pass outputFormats.sort() @@ -1246,4 +1246,4 @@ """ Private slot called in to enter Whats This mode. """ - QWhatsThis.enterWhatsThisMode() \ No newline at end of file + QWhatsThis.enterWhatsThisMode()