Commit 3c9da249 authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

Compile ++

CCMAIL: Josef.Weidendorfer@gmx.de
parent 8e6ffb78
...@@ -377,16 +377,16 @@ void QCGTopLevel::createActions() ...@@ -377,16 +377,16 @@ void QCGTopLevel::createActions()
_primaryMenuAction = new QAction(tr( "Primary Event Type" ), this ); _primaryMenuAction = new QAction(tr( "Primary Event Type" ), this );
_primaryMenuAction->setMenu(new QMenu(this)); _primaryMenuAction->setMenu(new QMenu(this));
connect(_primaryMenuAction->menu(), &QMenu::aboutToShow, connect(_primaryMenuAction->menu(), SIGNAL(aboutToShow()),
this, &QCGTopLevel::primaryAboutToShow ); this, SLOT(QCGTopLevel::primaryAboutToShow()) );
_secondaryMenuAction = new QAction(tr( "Secondary Event Type" ), this ); _secondaryMenuAction = new QAction(tr( "Secondary Event Type" ), this );
_secondaryMenuAction->setMenu(new QMenu(this)); _secondaryMenuAction->setMenu(new QMenu(this));
connect(_secondaryMenuAction->menu(), &QMenu::aboutToShow, connect(_secondaryMenuAction->menu(), SIGNAL(aboutToShow()),
this, &QCGTopLevel::secondaryAboutToShow ); this, SLOT(QCGTopLevel::secondaryAboutToShow()) );
_groupingMenuAction = new QAction(tr( "Grouping" ), this ); _groupingMenuAction = new QAction(tr( "Grouping" ), this );
_groupingMenuAction->setMenu(new QMenu(this)); _groupingMenuAction->setMenu(new QMenu(this));
connect(_groupingMenuAction->menu(), &QMenu::aboutToShow, connect(_groupingMenuAction->menu(), SIGNAL(aboutToShow()),
this, &QCGTopLevel::groupingAboutToShow ); this, SLOT(QCGTopLevel::groupingAboutToShow()) );
icon = QApplication::style()->standardIcon(QStyle::SP_BrowserReload); icon = QApplication::style()->standardIcon(QStyle::SP_BrowserReload);
_cyclesToggleAction = new QAction(icon, tr("Detect Cycles"), this); _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