Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/iconhandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,8 @@ IconHandler::IconHandler(
if (tmpThemes.find("hicolor") == tmpThemes.end()) {
logInfo("No packaged hicolor icon theme found, using built-in one.");
auto hicolorThemeIndex = Utils::getDataPath("hicolor-theme-index.theme");
if (!fs::exists(hicolorThemeIndex) && !m_extraPrefix.empty())
hicolorThemeIndex = m_extraPrefix + "/share/icons/hicolor/index.theme";
if (!fs::exists(hicolorThemeIndex)) {
logError(
"Hicolor icon theme index at '{}' was not found! We will not be able to handle icons in this theme.",
Expand Down