mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 20:50:34 +01:00
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:
@@ -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(";
|
||||||
|
|||||||
Reference in New Issue
Block a user