Hi, there.
I got little problem:
i connected QPushButton clicked() signal to my custom slot:

Qt Code:
  1. QObject::connect( ui->pushButton, SIGNAL(clicked()), this, SLOT(on_pushButton_clicked()));
To copy to clipboard, switch view to plain text mode 
but when I click on pushButton signal clicked() is sent twice ( on_pushButton_clicked() is called twice).
Any ideas?