summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2016-11-16 20:59:42 (GMT)
committerAlbert Astals Cid <aacid@kde.org>2016-11-16 20:59:42 (GMT)
commit3c9da24979d08659ceeb417ceb86e77db8002856 (patch)
tree54a353c255e893907a9e93e5d1c7c4f127ba6a82
parent8e6ffb788cf2d87fbad02f11f31614483d44a6d0 (diff)
CCMAIL: Josef.Weidendorfer@gmx.de
-rw-r--r--qcachegrind/qcgtoplevel.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/qcachegrind/qcgtoplevel.cpp b/qcachegrind/qcgtoplevel.cpp
index 6c48b1f..6fa16ff 100644
--- a/qcachegrind/qcgtoplevel.cpp
+++ b/qcachegrind/qcgtoplevel.cpp
@@ -377,16 +377,16 @@ void QCGTopLevel::createActions()
_primaryMenuAction = new QAction(tr( "Primary Event Type" ), this );
_primaryMenuAction->setMenu(new QMenu(this));
- connect(_primaryMenuAction->menu(), &QMenu::aboutToShow,
- this, &QCGTopLevel::primaryAboutToShow );
+ connect(_primaryMenuAction->menu(), SIGNAL(aboutToShow()),
+ this, SLOT(QCGTopLevel::primaryAboutToShow()) );
_secondaryMenuAction = new QAction(tr( "Secondary Event Type" ), this );
_secondaryMenuAction->setMenu(new QMenu(this));
- connect(_secondaryMenuAction->menu(), &QMenu::aboutToShow,
- this, &QCGTopLevel::secondaryAboutToShow );
+ connect(_secondaryMenuAction->menu(), SIGNAL(aboutToShow()),
+ this, SLOT(QCGTopLevel::secondaryAboutToShow()) );
_groupingMenuAction = new QAction(tr( "Grouping" ), this );
_groupingMenuAction->setMenu(new QMenu(this));
- connect(_groupingMenuAction->menu(), &QMenu::aboutToShow,
- this, &QCGTopLevel::groupingAboutToShow );
+ connect(_groupingMenuAction->menu(), SIGNAL(aboutToShow()),
+ this, SLOT(QCGTopLevel::groupingAboutToShow()) );
icon = QApplication::style()->standardIcon(QStyle::SP_BrowserReload);
_cyclesToggleAction = new QAction(icon, tr("Detect Cycles"), this);