Fix FTBFS if QT_VERSION < 0x050400

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4471 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
scorpio810
2016-05-07 00:52:04 +00:00
parent 9954f3cad0
commit a7d49968a8

View File

@@ -681,7 +681,12 @@ uint qHash(const ElementsLocation &location) {
QDebug operator<< (QDebug debug, const ElementsLocation &location) QDebug operator<< (QDebug debug, const ElementsLocation &location)
{ {
QDebugStateSaver saver(debug); QDebugStateSaver saver(debug);
#if QT_VERSION >= 0x050400
debug.noquote(); debug.noquote();
#else
debug.nospace();
#endif
QString msg; QString msg;
msg += "ElementsLocation("; msg += "ElementsLocation(";