forked from qt-creator/qt-creator
Fix qt namespace compile, move qHash(Utils::FileName) to qt namespace
Change-Id: Ic099176bc204ef25de34e80d8e592c2229a41aab Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
This commit is contained in:
committed by
Christian Kandeler
parent
135c449c4b
commit
041fe253e3
@@ -491,6 +491,7 @@ FileName FileName::right(int n) const
|
||||
|
||||
} // namespace Utils
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
uint qHash(const Utils::FileName &a)
|
||||
{
|
||||
#ifdef Q_OS_WIN
|
||||
@@ -499,3 +500,4 @@ uint qHash(const Utils::FileName &a)
|
||||
return qHash(a.toString());
|
||||
#endif
|
||||
}
|
||||
QT_END_NAMESPACE
|
||||
|
||||
Reference in New Issue
Block a user