Commit 611b337a authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

Make FeedList::generateID return uint

QRandomGenerator::global()->generate() returns an uint, and the 2 uses
of generateID assign to uint, so its better if we have all of it be
uints
parent b5a089b5
Pipeline #28223 failed with stage
in 2 minutes and 58 seconds
......@@ -453,7 +453,7 @@ void FeedList::setRootNode(Folder *folder)
}
}
int FeedList::generateID() const
uint FeedList::generateID() const
{
return QRandomGenerator::global()->generate();
}
......
......@@ -172,7 +172,7 @@ private:
void addNode(TreeNode *node, bool preserveID);
void removeNode(TreeNode *node);
int generateID() const;
uint generateID() const;
void setRootNode(Folder *folder);
void parseChildNodes(QDomNode &node, Folder *parent);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment