aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Kelly <stephen.kelly@kdab.com>2013-09-04 13:34:53 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-09-04 13:40:55 +0200
commitfc383361488ce507ebb113f9deaa745b2752f1dd (patch)
tree45edbb03e290bba8c800e2294478673a32ef4774
parent4303cf981aad09950d3e50c408b69caac32f3321 (diff)
Don't use emit in public headers.
Change-Id: I465ceee790e63cf2d264dc7d81839a153b11bdcf Reviewed-by: Jake Petroules <jake.petroules@petroules.com> Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
-rw-r--r--src/macextras/qmactoolbutton.h2
1 files changed, 1 insertions, 1 deletions
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