Commit 5a710823 authored by ck's avatar ck
Browse files

Made use of Qt::UniqueConnection dependent on version >= 4.6.

parent 527a2f7b
......@@ -2329,7 +2329,9 @@ static const char *qConnectionType(uint type)
case Qt::QueuedConnection: output = "queued"; break;
case Qt::BlockingQueuedConnection: output = "blockingqueued"; break;
case 3: output = "autocompat"; break;
#if QT_VERSION >= 0x040600
case Qt::UniqueConnection: output = "unique"; break;
#endif
};
return output;
};
......
......@@ -1075,7 +1075,9 @@ static const char *connectionType(uint type)
case Qt::QueuedConnection: output = "queued"; break;
case Qt::BlockingQueuedConnection: output = "blockingqueued"; break;
case 3: output = "autocompat"; break;
#if QT_VERSION >= 0x040600
case Qt::UniqueConnection: output = "unique"; break;
#endif
};
return output;
};
......
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