I have the following code on a dialog that is launched from a separate form. It works but requires two clicks to active. New to Qt and signal/slot metaphor, thanks form any help or suggestions.
void SearchDialog::on_btnSearchDialog_clicked()
{
connect(ui->btnSearchDialog, SIGNAL(clicked(bool)), this, SLOT(startSearchRequest()));
}
void SearchDialog::on_btnSearchDialog_clicked()
{
connect(ui->btnSearchDialog, SIGNAL(clicked(bool)), this, SLOT(startSearchRequest()));
}
To copy to clipboard, switch view to plain text mode
Bookmarks