[qet] [4471] Fix FTBFS if QT_VERSION < 0x050400

[ Thread Index | Date Index | More lists.tuxfamily.org/qet Archives ]


Revision: 4471
Author:   scorpio810
Date:     2016-05-07 02:52:04 +0200 (Sat, 07 May 2016)
Log Message:
-----------
Fix FTBFS if QT_VERSION < 0x050400

Modified Paths:
--------------
    trunk/sources/ElementsCollection/elementslocation.cpp

Modified: trunk/sources/ElementsCollection/elementslocation.cpp
===================================================================
--- trunk/sources/ElementsCollection/elementslocation.cpp	2016-05-06 18:04:05 UTC (rev 4470)
+++ trunk/sources/ElementsCollection/elementslocation.cpp	2016-05-07 00:52:04 UTC (rev 4471)
@@ -681,7 +681,12 @@
 QDebug operator<< (QDebug debug, const ElementsLocation &location)
 {
 	QDebugStateSaver saver(debug);
+
+#if QT_VERSION >= 0x050400
 	debug.noquote();
+#else
+	debug.nospace();
+#endif
 
 	QString msg;
 	msg += "ElementsLocation(";


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/