Commit 223af46d authored by Josef Weidendorfer's avatar Josef Weidendorfer

Fix Slot connections for recently added menu items

parent 5e9afaa8
......@@ -378,15 +378,15 @@ void QCGTopLevel::createActions()
_primaryMenuAction = new QAction(tr( "Primary Event Type" ), this );
_primaryMenuAction->setMenu(new QMenu(this));
connect(_primaryMenuAction->menu(), SIGNAL(aboutToShow()),
this, SLOT(QCGTopLevel::primaryAboutToShow()) );
this, SLOT(primaryAboutToShow()) );
_secondaryMenuAction = new QAction(tr( "Secondary Event Type" ), this );
_secondaryMenuAction->setMenu(new QMenu(this));
connect(_secondaryMenuAction->menu(), SIGNAL(aboutToShow()),
this, SLOT(QCGTopLevel::secondaryAboutToShow()) );
this, SLOT(secondaryAboutToShow()) );
_groupingMenuAction = new QAction(tr( "Grouping" ), this );
_groupingMenuAction->setMenu(new QMenu(this));
connect(_groupingMenuAction->menu(), SIGNAL(aboutToShow()),
this, SLOT(QCGTopLevel::groupingAboutToShow()) );
this, SLOT(groupingAboutToShow()) );
icon = QApplication::style()->standardIcon(QStyle::SP_BrowserReload);
_cyclesToggleAction = new QAction(icon, tr("Detect Cycles"), this);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment