mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-05 15:12:32 -06:00
Use uniform initialization on some default arguments
This commit is contained in:
@@ -37,7 +37,7 @@ template <typename T> class CachedSettingValue;
|
||||
class FileGuard
|
||||
{
|
||||
public:
|
||||
explicit FileGuard(const QString &path = QString());
|
||||
explicit FileGuard(const QString &path = {});
|
||||
~FileGuard();
|
||||
|
||||
/// Cancels or re-enables deferred file deletion
|
||||
@@ -55,7 +55,7 @@ class TorrentFileGuard : private FileGuard
|
||||
Q_GADGET
|
||||
|
||||
public:
|
||||
explicit TorrentFileGuard(const QString &path = QString());
|
||||
explicit TorrentFileGuard(const QString &path = {});
|
||||
~TorrentFileGuard();
|
||||
|
||||
/// marks the torrent file as loaded (added) into the BitTorrent::Session
|
||||
|
||||
Reference in New Issue
Block a user