testlib: Remove Q_CC_BOR uses
Borland's compiler is no longer supported. Change-Id: I61e3fa2cfbb244b9ca4d1db734992abb96f64709 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
This commit is contained in:
parent
73be2aab75
commit
fe7b63546d
@ -59,11 +59,7 @@ public:
|
||||
explicit QSignalSpy(const QObject *obj, const char *aSignal)
|
||||
: m_waiting(false)
|
||||
{
|
||||
#ifdef Q_CC_BOR
|
||||
const int memberOffset = QObject::staticMetaObject.methodCount();
|
||||
#else
|
||||
static const int memberOffset = QObject::staticMetaObject.methodCount();
|
||||
#endif
|
||||
if (!obj) {
|
||||
qWarning("QSignalSpy: Cannot spy on a null object");
|
||||
return;
|
||||
@ -104,11 +100,7 @@ public:
|
||||
QSignalSpy(const typename QtPrivate::FunctionPointer<Func>::Object *obj, Func signal0)
|
||||
: m_waiting(false)
|
||||
{
|
||||
#ifdef Q_CC_BOR
|
||||
const int memberOffset = QObject::staticMetaObject.methodCount();
|
||||
#else
|
||||
static const int memberOffset = QObject::staticMetaObject.methodCount();
|
||||
#endif
|
||||
if (!obj) {
|
||||
qWarning("QSignalSpy: Cannot spy on a null object");
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user