Implement class for handling filesystem paths

PR #15915.
This commit is contained in:
Vladimir Golovnev
2022-02-08 06:03:48 +03:00
committed by GitHub
parent facfa26eed
commit dd1bd8ad10
131 changed files with 2252 additions and 1868 deletions

View File

@@ -67,9 +67,9 @@ namespace
}
};
QIcon loadIcon(const QString &path, const QString &fallbackId)
QIcon loadIcon(const Path &path, const QString &fallbackId)
{
const QPixmap pixmap {path};
const QPixmap pixmap {path.data()};
if (!pixmap.isNull())
return {pixmap};