Help: Fix warning

The operator is not static otherwise it would be
just an unused function.

Change-Id: I01b8764adfdf8908d07362357211d64b55ea941e
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Christian Stenger
2020-07-16 15:54:41 +02:00
parent fed5a85110
commit a3a2c2f691

View File

@@ -55,7 +55,7 @@ public:
QString nameSpace;
};
static bool operator<(const DocEntry &d1, const DocEntry &d2)
bool operator<(const DocEntry &d1, const DocEntry &d2)
{ return d1.name < d2.name; }
class DocModel : public QAbstractListModel