summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qobject_impl.h
diff options
context:
space:
mode:
authorDavid Schulz <david.schulz@digia.com>2014-03-07 13:18:31 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-15 10:46:17 +0100
commitcc0636ea1eb34b654bd14ce840d1ffa5a07e44fe (patch)
tree2694b5a44aa0513dba9f0572c2576382841cc986 /src/corelib/kernel/qobject_impl.h
parentc6e271da6d1d972ad73a97871baafe57578a69a9 (diff)
Remove level 4 compiler warnings from MSVC.
Task-number: QTBUG-7233 Change-Id: I52067e3a22e98a62fd87415906e54a54ff2d6b49 Reviewed-by: Kurt Pattyn <pattyn.kurt@gmail.com> Reviewed-by: Oliver Wolff <oliver.wolff@digia.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com> Reviewed-by: Dave McClelland
Diffstat (limited to 'src/corelib/kernel/qobject_impl.h')
-rw-r--r--src/corelib/kernel/qobject_impl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/kernel/qobject_impl.h b/src/corelib/kernel/qobject_impl.h
index d2996e6e4d..aea9d41c67 100644
--- a/src/corelib/kernel/qobject_impl.h
+++ b/src/corelib/kernel/qobject_impl.h
@@ -132,6 +132,8 @@ namespace QtPrivate {
inline void call(QObject *r, void **a) { m_impl(Call, this, r, a, 0); }
protected:
~QSlotObjectBase() {}
+ private:
+ Q_DISABLE_COPY(QSlotObjectBase)
};
// implementation of QSlotObjectBase for which the slot is a pointer to member function of a QObject
// Args and R are the List of arguments and the returntype of the signal to which the slot is connected.