mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-22 00:17:23 -06:00
Move all icon resources to icon folder root
This commit is contained in:
@@ -58,11 +58,11 @@ IconProvider *IconProvider::instance()
|
||||
QString IconProvider::getIconPath(const QString &iconId) const
|
||||
{
|
||||
// there are a few icons not available in svg
|
||||
const QString pathSvg = ":/icons/qbt-theme/" + iconId + ".svg";
|
||||
const QString pathSvg = ":/icons/" + iconId + ".svg";
|
||||
if (QFileInfo::exists(pathSvg))
|
||||
return pathSvg;
|
||||
|
||||
const QString pathPng = ":/icons/qbt-theme/" + iconId + ".png";
|
||||
const QString pathPng = ":/icons/" + iconId + ".png";
|
||||
return pathPng;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user