mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 22:47:21 -06:00
@@ -39,6 +39,7 @@
|
||||
#include <QRegularExpression>
|
||||
#include <QStringView>
|
||||
|
||||
#include "base/concepts/stringable.h"
|
||||
#include "base/global.h"
|
||||
|
||||
#if defined(Q_OS_WIN)
|
||||
@@ -69,6 +70,9 @@ namespace
|
||||
#endif
|
||||
}
|
||||
|
||||
// `Path` should satisfy `Stringable` concept in order to be stored in settings as string
|
||||
static_assert(Stringable<Path>);
|
||||
|
||||
Path::Path(const QString &pathStr)
|
||||
: m_pathStr {cleanPath(pathStr)}
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user