Skip to content

Commit

Permalink
[Qt] Change signal from activated to triggered
Browse files Browse the repository at this point in the history
  • Loading branch information
mean committed Jul 22, 2016
1 parent 43c6797 commit 3143fcd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ filtermainWindow::filtermainWindow(QWidget* parent) : QDialog(parent)
QAction *add = new QAction(QString("Add"),this);
availableList->setContextMenuPolicy(Qt::ActionsContextMenu);
availableList->addAction(add );
connect(add,SIGNAL(activated()),this,SLOT(addSlot()));
connect(add,SIGNAL(triggered(bool )),this,SLOT(addSlot()));


QAction *remove = new QAction(QString("Remove"),this);
Expand Down

0 comments on commit 3143fcd

Please sign in to comment.