Move all icon resources to icon folder root

This commit is contained in:
jagannatharjun
2020-05-18 20:30:51 +05:30
parent 841536c9c5
commit ab91d546e5
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;
}