mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 22:47:21 -06:00
Use QString literals
This patch covers src/app and src/base folders.
Follow up of ab64ee872b.
This commit is contained in:
@@ -129,7 +129,7 @@ Path Path::parentPath() const
|
||||
|
||||
QString Path::filename() const
|
||||
{
|
||||
const int slashIndex = m_pathStr.lastIndexOf('/');
|
||||
const int slashIndex = m_pathStr.lastIndexOf(u'/');
|
||||
if (slashIndex == -1)
|
||||
return m_pathStr;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user