mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-07 05:31:25 -07:00
parent
850da9dd83
commit
69d60b5f1c
10 changed files with 144 additions and 28 deletions
|
@ -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)}
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue