forked from qt-creator/qt-creator
QtSupport: Fix compile with Qt6.2
Amends d2b61bf3f0
.
Change-Id: Ieeac8f24b4472ae802aadbcf9667419d2af52453
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -303,18 +303,18 @@ expected_str<QList<ExampleItem *>> parseExamples(const QByteArray &manifestData,
|
|||||||
|
|
||||||
// ordered list of "known" categories
|
// ordered list of "known" categories
|
||||||
// TODO this should be defined in the manifest
|
// TODO this should be defined in the manifest
|
||||||
Q_GLOBAL_STATIC(QList<QString>,
|
Q_GLOBAL_STATIC_WITH_ARGS(QList<QString>,
|
||||||
defaultOrder,
|
defaultOrder,
|
||||||
{"Application Examples",
|
{QStringList() << "Application Examples"
|
||||||
"Desktop",
|
<< "Desktop"
|
||||||
"Mobile",
|
<< "Mobile"
|
||||||
"Embedded",
|
<< "Embedded"
|
||||||
"Graphics",
|
<< "Graphics"
|
||||||
"Input/Output",
|
<< "Input/Output"
|
||||||
"Connectivity",
|
<< "Connectivity"
|
||||||
"Networking",
|
<< "Networking"
|
||||||
"Positioning & Location",
|
<< "Positioning & Location"
|
||||||
"Internationalization"});
|
<< "Internationalization"});
|
||||||
|
|
||||||
static bool sortByHighlightedAndName(ExampleItem *first, ExampleItem *second)
|
static bool sortByHighlightedAndName(ExampleItem *first, ExampleItem *second)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user