Linter fixes
This commit is contained in:
committed by
Chris Hennes
parent
ec1da540c6
commit
dd59cce8e9
@@ -56,7 +56,7 @@ public:
|
||||
_type = type;
|
||||
}
|
||||
|
||||
const std::shared_ptr<std::map<QString, std::shared_ptr<FolderTreeNode<T>>>> getFolder() const
|
||||
std::shared_ptr<std::map<QString, std::shared_ptr<FolderTreeNode<T>>>> getFolder() const
|
||||
{
|
||||
assert(_type == NodeType::FolderNode);
|
||||
return _folder;
|
||||
@@ -87,7 +87,7 @@ public:
|
||||
setType(NodeType::DataNode);
|
||||
_data = data;
|
||||
}
|
||||
void setUUID(const QString uuid)
|
||||
void setUUID(const QString& uuid)
|
||||
{
|
||||
setType(NodeType::DataNode);
|
||||
_uuid = uuid;
|
||||
|
||||
@@ -97,8 +97,6 @@ bool Library::isRoot(const QString& path) const
|
||||
{
|
||||
QString localPath = getLocalPath(path);
|
||||
QString cleanPath = getLocalPath(QStringLiteral(""));
|
||||
std::string pLocal = localPath.toStdString();
|
||||
std::string pclean = cleanPath.toStdString();
|
||||
return (cleanPath == localPath);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user