Skip to content

Commit

Permalink
Fix makeqrc same results Windows and Mac
Browse files Browse the repository at this point in the history
  • Loading branch information
Sophist-UK committed Apr 9, 2014
1 parent 244db61 commit 044d448
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 60 deletions.
2 changes: 1 addition & 1 deletion resources/makeqrc.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def main():
with open(qrcfile, 'wb+') as f:
f.write('<!DOCTYPE RCC><RCC version="1.0">\n<qresource>\n')
for filename in sorted(images, key=natsort_key):
f.write(' <file>%s</file>\n' % filename)
f.write(' <file>%s</file>\n' % filename.replace('\\', '/'))
f.write('</qresource>\n</RCC>\n')
log.info("File %s written, %d images" % (qrcfile, len(images)))

Expand Down
118 changes: 59 additions & 59 deletions resources/picard.qrc
Original file line number Diff line number Diff line change
@@ -1,63 +1,63 @@
<!DOCTYPE RCC><RCC version="1.0">
<qresource>
<file>images\16x16\action-go-down-16.png</file>
<file>images\16x16\applications-system.png</file>
<file>images\16x16\dialog-error.png</file>
<file>images\16x16\document-open.png</file>
<file>images\16x16\document-save.png</file>
<file>images\16x16\edit-cut.png</file>
<file>images\16x16\edit-paste.png</file>
<file>images\16x16\folder.png</file>
<file>images\16x16\media-optical-error.png</file>
<file>images\16x16\media-optical-modified.png</file>
<file>images\16x16\media-optical-saved-modified.png</file>
<file>images\16x16\media-optical-saved.png</file>
<file>images\16x16\media-optical.png</file>
<file>images\16x16\picard.png</file>
<file>images\16x16\play-music.png</file>
<file>images\16x16\preferences-desktop.png</file>
<file>images\16x16\view-refresh.png</file>
<file>images\22x22\document-open.png</file>
<file>images\22x22\document-save.png</file>
<file>images\22x22\folder.png</file>
<file>images\22x22\list-remove.png</file>
<file>images\22x22\lookup-musicbrainz.png</file>
<file>images\22x22\media-optical-error.png</file>
<file>images\22x22\media-optical-modified.png</file>
<file>images\22x22\media-optical-saved-modified.png</file>
<file>images\22x22\media-optical-saved.png</file>
<file>images\22x22\media-optical.png</file>
<file>images\22x22\picard-analyze.png</file>
<file>images\22x22\picard-auto-tag.png</file>
<file>images\22x22\picard-cluster.png</file>
<file>images\22x22\picard-edit-tags.png</file>
<file>images\22x22\picard-submit.png</file>
<file>images\22x22\play-music.png</file>
<file>images\22x22\preferences-desktop.png</file>
<file>images\22x22\system-search.png</file>
<file>images\24x24\picard.png</file>
<file>images\32x32\picard.png</file>
<file>images\48x48\picard.png</file>
<file>images\128x128\picard.png</file>
<file>images\256x256\picard.png</file>
<file>images\CoverArtShadow.png</file>
<file>images\file-pending.png</file>
<file>images\file.png</file>
<file>images\match-50.png</file>
<file>images\match-60.png</file>
<file>images\match-70.png</file>
<file>images\match-80.png</file>
<file>images\match-90.png</file>
<file>images\match-100.png</file>
<file>images\match-pending-50.png</file>
<file>images\match-pending-60.png</file>
<file>images\match-pending-70.png</file>
<file>images\match-pending-80.png</file>
<file>images\match-pending-90.png</file>
<file>images\match-pending-100.png</file>
<file>images\note.png</file>
<file>images\star-gray.png</file>
<file>images\star.png</file>
<file>images\track-saved.png</file>
<file>images/16x16/action-go-down-16.png</file>
<file>images/16x16/applications-system.png</file>
<file>images/16x16/dialog-error.png</file>
<file>images/16x16/document-open.png</file>
<file>images/16x16/document-save.png</file>
<file>images/16x16/edit-cut.png</file>
<file>images/16x16/edit-paste.png</file>
<file>images/16x16/folder.png</file>
<file>images/16x16/media-optical-error.png</file>
<file>images/16x16/media-optical-modified.png</file>
<file>images/16x16/media-optical-saved-modified.png</file>
<file>images/16x16/media-optical-saved.png</file>
<file>images/16x16/media-optical.png</file>
<file>images/16x16/picard.png</file>
<file>images/16x16/play-music.png</file>
<file>images/16x16/preferences-desktop.png</file>
<file>images/16x16/view-refresh.png</file>
<file>images/22x22/document-open.png</file>
<file>images/22x22/document-save.png</file>
<file>images/22x22/folder.png</file>
<file>images/22x22/list-remove.png</file>
<file>images/22x22/lookup-musicbrainz.png</file>
<file>images/22x22/media-optical-error.png</file>
<file>images/22x22/media-optical-modified.png</file>
<file>images/22x22/media-optical-saved-modified.png</file>
<file>images/22x22/media-optical-saved.png</file>
<file>images/22x22/media-optical.png</file>
<file>images/22x22/picard-analyze.png</file>
<file>images/22x22/picard-auto-tag.png</file>
<file>images/22x22/picard-cluster.png</file>
<file>images/22x22/picard-edit-tags.png</file>
<file>images/22x22/picard-submit.png</file>
<file>images/22x22/play-music.png</file>
<file>images/22x22/preferences-desktop.png</file>
<file>images/22x22/system-search.png</file>
<file>images/24x24/picard.png</file>
<file>images/32x32/picard.png</file>
<file>images/48x48/picard.png</file>
<file>images/128x128/picard.png</file>
<file>images/256x256/picard.png</file>
<file>images/CoverArtShadow.png</file>
<file>images/file-pending.png</file>
<file>images/file.png</file>
<file>images/match-50.png</file>
<file>images/match-60.png</file>
<file>images/match-70.png</file>
<file>images/match-80.png</file>
<file>images/match-90.png</file>
<file>images/match-100.png</file>
<file>images/match-pending-50.png</file>
<file>images/match-pending-60.png</file>
<file>images/match-pending-70.png</file>
<file>images/match-pending-80.png</file>
<file>images/match-pending-90.png</file>
<file>images/match-pending-100.png</file>
<file>images/note.png</file>
<file>images/star-gray.png</file>
<file>images/star.png</file>
<file>images/track-saved.png</file>
</qresource>
</RCC>

0 comments on commit 044d448

Please sign in to comment.