Commit ac99f062 authored by Laurent Montel's avatar Laurent Montel 😁

port to std::sort

parent e80cbf12
......@@ -64,7 +64,7 @@ MenuItem::~MenuItem()
void MenuItem::sortChildrenByWeight()
{
qSort( d->children.begin(), d->children.end(), childIsLessThan );
std::sort( d->children.begin(), d->children.end(), childIsLessThan );
}
MenuItem * MenuItem::child( int index )
......
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