Testing QClipboard class, i wrote:

Qt Code:
  1. clipboard = QApplication::clipboard();
  2. connect(clipboard, SIGNAL(changed(QClipboard::Mode)), this, SLOT(clipboardChanged()));
To copy to clipboard, switch view to plain text mode 

After an initial proper behavior (10-15 times clipboardChanged slot called after every data change ), app stops working (clipboardChanged not called anymore ).
Any suggestions are greatly appreciated.