diff -r 56cd8111b7f7 -r 41300fa6a67c src/gui/dialogs/qfontdialog.cpp --- a/src/gui/dialogs/qfontdialog.cpp Tue Jan 26 12:42:25 2010 +0200 +++ b/src/gui/dialogs/qfontdialog.cpp Tue Feb 02 00:43:10 2010 +0200 @@ -948,7 +948,7 @@ void QFontDialog::open(QObject *receiver, const char *member) { Q_D(QFontDialog); - connect(this, SIGNAL(fontSelected(const QFont&)), receiver, member); + connect(this, SIGNAL(fontSelected(QFont)), receiver, member); d->receiverToDisconnectOnClose = receiver; d->memberToDisconnectOnClose = member; QDialog::open(); @@ -1038,7 +1038,7 @@ d->selectedFont = QFont(); } if (d->receiverToDisconnectOnClose) { - disconnect(this, SIGNAL(fontSelected(const QFont&)), + disconnect(this, SIGNAL(fontSelected(QFont)), d->receiverToDisconnectOnClose, d->memberToDisconnectOnClose); d->receiverToDisconnectOnClose = 0; }