Fix namespaced build

Change-Id: Idf7716093c0fdaeb494d9427a894a4ea44cab95a
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
Joerg Bornemann
2017-07-04 18:10:07 +02:00
parent f257e3fe95
commit e8dfe2f91d
2 changed files with 8 additions and 0 deletions

View File

@@ -8281,9 +8281,13 @@ IEditor *BaseTextEditor::duplicate()
} // namespace TextEditor
QT_BEGIN_NAMESPACE
uint qHash(const QColor &color)
{
return color.rgba();
}
QT_END_NAMESPACE
#include "texteditor.moc"

View File

@@ -672,6 +672,10 @@ private:
} // namespace TextEditor
QT_BEGIN_NAMESPACE
uint qHash(const QColor &color);
QT_END_NAMESPACE
Q_DECLARE_METATYPE(TextEditor::TextEditorWidget::Link)