From a7d49968a83c4c73497ae7ebc01f9ed08507bc22 Mon Sep 17 00:00:00 2001 From: scorpio810 Date: Sat, 7 May 2016 00:52:04 +0000 Subject: [PATCH] Fix FTBFS if QT_VERSION < 0x050400 git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4471 bfdf4180-ca20-0410-9c96-a3a8aa849046 --- sources/ElementsCollection/elementslocation.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sources/ElementsCollection/elementslocation.cpp b/sources/ElementsCollection/elementslocation.cpp index 6c517dd2e..b6bd53104 100644 --- a/sources/ElementsCollection/elementslocation.cpp +++ b/sources/ElementsCollection/elementslocation.cpp @@ -681,7 +681,12 @@ uint qHash(const ElementsLocation &location) { QDebug operator<< (QDebug debug, const ElementsLocation &location) { QDebugStateSaver saver(debug); + +#if QT_VERSION >= 0x050400 debug.noquote(); +#else + debug.nospace(); +#endif QString msg; msg += "ElementsLocation(";