qutron
29th November 2010, 14:36
Hi, there.
I got little problem:
i connected QPushButton clicked() signal to my custom slot:
QObject::connect( ui->pushButton, SIGNAL(clicked()), this, SLOT(on_pushButton_clicked()));
but when I click on pushButton signal clicked() is sent twice ( on_pushButton_clicked() is called twice).
Any ideas?
I got little problem:
i connected QPushButton clicked() signal to my custom slot:
QObject::connect( ui->pushButton, SIGNAL(clicked()), this, SLOT(on_pushButton_clicked()));
but when I click on pushButton signal clicked() is sent twice ( on_pushButton_clicked() is called twice).
Any ideas?