From 10ce3bcbcdcb7e846c21c3f4055968a33124fd01 Mon Sep 17 00:00:00 2001 From: Matthew Woehlke Date: Wed, 7 Aug 2013 13:32:37 -0400 Subject: Fix shadowed virtuals Change GlobalReceiver to explicitly 'use' [dis]connectNotify of the base class in order to avoid hiding these with its own overloads. This fixes the only (current) -Woverloaded-virtual warning. Change-Id: I364b9939f9078029861054051148c319071fbbe1 Reviewed-by: John Ehresman --- libpyside/globalreceiver.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libpyside/globalreceiver.h b/libpyside/globalreceiver.h index 47fad2f23..6da783dcb 100644 --- a/libpyside/globalreceiver.h +++ b/libpyside/globalreceiver.h @@ -47,6 +47,10 @@ public: void disconnectNotify(QObject* sender, int slotId); bool hasConnectionWith(const QObject* object); +protected: + using QObject::connectNotify; + using QObject::disconnectNotify; + private: DynamicQMetaObject m_metaObject; QSet m_shortCircuitSlots; -- cgit v1.2.3