forked from qt-creator/qt-creator
Remove funny, commented code
Change-Id: Id7203efe0c131ac049b3d238d674db1fede40c52 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -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)
|
static PropertyNameList sortedPropertyNameList(const PropertyNameList &nameList)
|
||||||
{
|
{
|
||||||
PropertyNameList sortedPropertyNameList = nameList;
|
PropertyNameList sortedPropertyNameList = nameList;
|
||||||
|
Reference in New Issue
Block a user