
Originally Posted by
seneca
connect(
iTree, SIGNAL(customContextMenuRequested(const QPoint& aPosition)),
this, SLOT(treeContextMenu(const QPoint& aPosition))
);
connect(
iTree, SIGNAL(customContextMenuRequested(const QPoint& aPosition)),
this, SLOT(treeContextMenu(const QPoint& aPosition))
);
To copy to clipboard, switch view to plain text mode
You can't put parameter names in SLOT and SIGNAL macros.
This should be:
connect( iTree, SIGNAL( customContextMenuRequested( const QPoint& ) ),
this, SLOT( treeContextMenu( const QPoint& ) ) );
connect( iTree, SIGNAL( customContextMenuRequested( const QPoint& ) ),
this, SLOT( treeContextMenu( const QPoint& ) ) );
To copy to clipboard, switch view to plain text mode
Bookmarks