mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 15:07:22 -06:00
Use QString literals
The plan is to define `QT_NO_CAST_FROM_ASCII` eventually. PR #16561.
This commit is contained in:
@@ -207,7 +207,7 @@ qint64 Utils::Fs::freeDiskSpaceOnPath(const Path &path)
|
||||
|
||||
Path Utils::Fs::tempPath()
|
||||
{
|
||||
static const Path path = Path(QDir::tempPath()) / Path(".qBittorrent");
|
||||
static const Path path = Path(QDir::tempPath()) / Path(u".qBittorrent"_qs);
|
||||
mkdir(path);
|
||||
return path;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user