From fc383361488ce507ebb113f9deaa745b2752f1dd Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Wed, 4 Sep 2013 13:34:53 +0200 Subject: Don't use emit in public headers. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I465ceee790e63cf2d264dc7d81839a153b11bdcf Reviewed-by: Jake Petroules Reviewed-by: Tor Arne Vestbø --- src/macextras/qmactoolbutton.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/macextras/qmactoolbutton.h b/src/macextras/qmactoolbutton.h index 380422f..e63fefc 100644 --- a/src/macextras/qmactoolbutton.h +++ b/src/macextras/qmactoolbutton.h @@ -88,7 +88,7 @@ private: StandardItem m_standardItem; public: // (not really public) QAction *m_action; - void emitActivated() { emit activated(); } + void emitActivated() { Q_EMIT activated(); } }; QT_END_NAMESPACE -- cgit v1.2.3