Hi,

I created a QListWidget with items.
I would to catch an event when an item is clicked and an other event when double clicked.

I did:
connect(contextList, SIGNAL(itemDoubleClicked(QListWidgetItem*)), this, SLOT(setNewTabContent(QListWidgetItem*)));
connect(contextList, SIGNAL(itemClicked(QListWidgetItem*)), this, SLOT(setTabContent(QListWidgetItem*)));
The problem is that when I double click an item, I receive both setNewTabContent and setTabContent.

Do you have a solution for me ?

Thank you for your help !