Commit 423ff9b3 authored by Christian Kandeler's avatar Christian Kandeler

CppTools: Fix build with namespaced Qt.

Change-Id: Idec32131c20b91c3d08ac16fbcc1c14ee5ede450
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
parent 9b688d0a
......@@ -78,9 +78,7 @@ void ProjectFileAdder::addMapping(const char *mimeName, ProjectFile::Kind kind)
m_mapping.append(Pair(mimeType, kind));
}
} // namespace CPlusPlus
QDebug operator <<(QDebug stream, const CPlusPlus::ProjectFile &cxxFile)
QDebug operator<<(QDebug stream, const CPlusPlus::ProjectFile &cxxFile)
{
const char *kind;
switch (cxxFile.kind) {
......@@ -99,3 +97,5 @@ QDebug operator <<(QDebug stream, const CPlusPlus::ProjectFile &cxxFile)
stream << cxxFile.path << QLatin1String(", ") << kind;
return stream;
}
} // namespace CPlusPlus
......@@ -79,8 +79,8 @@ private:
QFileInfo m_fileInfo;
};
} // namespace CPlusPlus
QDebug operator<<(QDebug stream, const CPlusPlus::ProjectFile &cxxFile);
QDebug operator <<(QDebug stream, const CPlusPlus::ProjectFile &cxxFile);
} // namespace CPlusPlus
#endif // CPLUSPLUS_CPPPROJECTFILE_H
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment