Skip to content

Commit

Permalink
[ws] Fix websearch not applying icon when selected from file dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
ManuelSchneid3r committed Aug 14, 2023
1 parent bf8e7d4 commit c4e9870
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions websearch/src/searchengineeditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ SearchEngineEditor::SearchEngineEditor(const QString &icon_url,
if (fileName.isEmpty())
return;

icon_image = std::make_unique<QImage>(fileName);
ui.toolButton_icon->setIcon(QIcon(fileName));
});

Expand Down

0 comments on commit c4e9870

Please sign in to comment.