Remove funny, commented code

Change-Id: Id7203efe0c131ac049b3d238d674db1fede40c52
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
Eike Ziller
2018-02-12 11:37:38 +01:00
parent 1ed7d3c270
commit 23ab27ac04

View File

@@ -569,22 +569,6 @@ void layoutGridLayout(const SelectionContext &selectionContext)
}
}
/*
bool optionsPageLessThan(const IOptionsPage *p1, const IOptionsPage *p2)
{
if (p1->category() != p2->category())
return p1->category().alphabeticallyBefore(p2->category());
return p1->id().alphabeticallyBefore(p2->id());
}
static inline QList<IOptionsPage*> sortedOptionsPages()
{
QList<IOptionsPage*> rc = ExtensionSystem::PluginManager::getObjects<IOptionsPage>();
qStableSort(rc.begin(), rc.end(), optionsPageLessThan);
return rc;
}
*/
static PropertyNameList sortedPropertyNameList(const PropertyNameList &nameList)
{
PropertyNameList sortedPropertyNameList = nameList;