Put the connect-code "outside" both dialogs, to where the dialogs are created.
dialog_1 = new Dialog_1();
dialog_2 = new Dialog_2();
connect( dialog_1,
SIGNAL(yourSignal
(QString), dialog_2,
SLOT(yourSlot
(QString)) );
// Show the two dialogs here
dialog_1 = new Dialog_1();
dialog_2 = new Dialog_2();
connect( dialog_1, SIGNAL(yourSignal(QString), dialog_2, SLOT(yourSlot(QString)) );
// Show the two dialogs here
To copy to clipboard, switch view to plain text mode
I'm not sure if this work, but I would try it.
Bookmarks