mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-22 08:27:24 -06:00
Use QString literals
This patch covers src/app and src/base folders.
Follow up of ab64ee872b.
This commit is contained in:
@@ -58,11 +58,11 @@ IconProvider *IconProvider::instance()
|
||||
Path IconProvider::getIconPath(const QString &iconId) const
|
||||
{
|
||||
// there are a few icons not available in svg
|
||||
const Path pathSvg {":/icons/" + iconId + ".svg"};
|
||||
const Path pathSvg {u":/icons/" + iconId + u".svg"};
|
||||
if (pathSvg.exists())
|
||||
return pathSvg;
|
||||
|
||||
const Path pathPng {":/icons/" + iconId + ".png"};
|
||||
const Path pathPng {u":/icons/" + iconId + u".png"};
|
||||
return pathPng;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user