Skip to content

Commit

Permalink
Merge pull request #150 from bohning/cosmetics
Browse files Browse the repository at this point in the history
Cosmetics
  • Loading branch information
bohning authored Aug 21, 2023
2 parents 0983c9b + 48d8850 commit c2989b5
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 2 deletions.
10 changes: 9 additions & 1 deletion src/usdb_syncer/gui/forms/MainWindow.ui
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,7 @@
<x>0</x>
<y>0</y>
<width>1100</width>
<height>22</height>
<height>24</height>
</rect>
</property>
<widget class="QMenu" name="menu_tools">
Expand Down Expand Up @@ -755,6 +755,10 @@
</property>
</action>
<action name="action_import_usdb_ids">
<property name="icon">
<iconset resource="../resources/resources.qrc">
<normaloff>:/icons/document-export.png</normaloff>:/icons/document-export.png</iconset>
</property>
<property name="text">
<string>Add IDs from File(s)</string>
</property>
Expand All @@ -763,6 +767,10 @@
</property>
</action>
<action name="action_export_usdb_ids">
<property name="icon">
<iconset resource="../resources/resources.qrc">
<normaloff>:/icons/document-import.png</normaloff>:/icons/document-import.png</iconset>
</property>
<property name="text">
<string>Export IDs to File</string>
</property>
Expand Down
Binary file added src/usdb_syncer/gui/resources/document-export.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/usdb_syncer/gui/resources/document-import.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions src/usdb_syncer/gui/resources/resources.qrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<RCC>
<qresource prefix="icons">
<file>document-import.png</file>
<file>document-export.png</file>
<file>broom.png</file>
<file>folder_note.png</file>
<file>clipboard-empty.png</file>
Expand Down
2 changes: 1 addition & 1 deletion src/usdb_syncer/song_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ def run(self) -> None:
def _run_inner(self) -> SongData:
self.on_start(self.song_id)
details = usdb_scraper.get_usdb_details(self.song_id)
self.logger.info(f"Found '{details.artist} - {details.title}' on USDB")
self.logger.info(f"Found '{details.artist} - {details.title}' on USDB")
ctx = Context.new(details, self.options, self.data, self.logger)
ctx.locations.dir_path().mkdir(parents=True, exist_ok=True)
ctx.locations.ensure_correct_paths(ctx.sync_meta)
Expand Down

0 comments on commit c2989b5

Please sign in to comment.