Merge pull request #12848 from jagannatharjun/move-icons

Move all icon resources in icons folder root
This commit is contained in:
Vladimir Golovnev
2020-05-19 07:39:55 +03:00
committed by GitHub
166 changed files with 353 additions and 396 deletions

View File

@@ -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;
}