mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-23 08:48:07 -06:00
Replace QStringRef with QStringView
This commit is contained in:
@@ -39,7 +39,6 @@ class QCompleter;
|
||||
class QContextMenuEvent;
|
||||
class QFileSystemModel;
|
||||
class QKeyEvent;
|
||||
class QStringRef;
|
||||
|
||||
namespace Private
|
||||
{
|
||||
@@ -82,10 +81,10 @@ namespace Private
|
||||
QString lastTestedPath() const;
|
||||
|
||||
private:
|
||||
QValidator::State validate(const QString &path, const QVector<QStringRef> &pathComponents, bool strict,
|
||||
QValidator::State validate(const QList<QStringView> &pathComponents, bool strict,
|
||||
int firstComponentToTest, int lastComponentToTest) const;
|
||||
|
||||
TestResult testPath(const QStringRef &path, bool pathIsComplete) const;
|
||||
TestResult testPath(QStringView path, bool pathIsComplete) const;
|
||||
|
||||
bool m_strictMode;
|
||||
bool m_existingOnly;
|
||||
|
||||
Reference in New Issue
Block a user