fix namespaced build
Change-Id: I4df9e4874da2e86b61db7e5984503c0856492d87 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
This commit is contained in:
parent
a2970719c2
commit
a057d42305
@ -55,10 +55,12 @@ typedef QList<QStandardItem *> StandardItemList;
|
|||||||
|
|
||||||
enum { mimeTypeRole = Qt::UserRole + 1, iconQueriedRole = Qt::UserRole + 2 };
|
enum { mimeTypeRole = Qt::UserRole + 1, iconQueriedRole = Qt::UserRole + 2 };
|
||||||
|
|
||||||
|
QT_BEGIN_NAMESPACE
|
||||||
bool operator<(const QMimeType &t1, const QMimeType &t2)
|
bool operator<(const QMimeType &t1, const QMimeType &t2)
|
||||||
{
|
{
|
||||||
return t1.name() < t2.name();
|
return t1.name() < t2.name();
|
||||||
}
|
}
|
||||||
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
static StandardItemList createRow(const QMimeType &t)
|
static StandardItemList createRow(const QMimeType &t)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user