diff options
author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2011-11-28 16:29:41 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-11-28 16:59:09 +0100 |
commit | 8b12b566dba537dd15dca574e19c1eca9027be0b (patch) | |
tree | 454022df0946b5aababd92207e294f753e5ac093 /src/corelib/kernel/qobject.h | |
parent | b8d330904b279de57d70caef70ab2d2a6770f0cc (diff) |
Fix linking of the QObject test under Windows.
Change-Id: Iced5a37893969f555f39d3f4683b32ca2a399365
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Diffstat (limited to 'src/corelib/kernel/qobject.h')
-rw-r--r-- | src/corelib/kernel/qobject.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/kernel/qobject.h b/src/corelib/kernel/qobject.h index d4a532a9d8..27165cdcc3 100644 --- a/src/corelib/kernel/qobject.h +++ b/src/corelib/kernel/qobject.h @@ -335,7 +335,7 @@ private: private: // internal base class (interface) containing functions required to call a slot managed by a pointer to function. - struct QSlotObjectBase { + struct Q_CORE_EXPORT QSlotObjectBase { QAtomicInt ref; QSlotObjectBase() : ref(1) {} virtual ~QSlotObjectBase(); @@ -347,7 +347,7 @@ private: { typedef QtPrivate::FunctionPointer<Func> FuncType; Func function; - QSlotObject(Func f) : function(f) {}; + QSlotObject(Func f) : function(f) {} virtual void call(QObject *receiver, void **a) { FuncType::template call<Args, R>(function, static_cast<typename FuncType::Object *>(receiver), a); } |