diff -r 56cd8111b7f7 -r 41300fa6a67c tools/shared/qtgradienteditor/qtgradientviewdialog.cpp --- a/tools/shared/qtgradienteditor/qtgradientviewdialog.cpp Tue Jan 26 12:42:25 2010 +0200 +++ b/tools/shared/qtgradienteditor/qtgradientviewdialog.cpp Tue Feb 02 00:43:10 2010 +0200 @@ -50,10 +50,10 @@ { m_ui.setupUi(this); m_ui.buttonBox->button(QDialogButtonBox::Ok)->setEnabled(false); - connect(m_ui.gradientView, SIGNAL(currentGradientChanged(const QString &)), - this, SLOT(slotGradientSelected(const QString &))); - connect(m_ui.gradientView, SIGNAL(gradientActivated(const QString &)), - this, SLOT(slotGradientActivated(const QString &))); + connect(m_ui.gradientView, SIGNAL(currentGradientChanged(QString)), + this, SLOT(slotGradientSelected(QString))); + connect(m_ui.gradientView, SIGNAL(gradientActivated(QString)), + this, SLOT(slotGradientActivated(QString))); } void QtGradientViewDialog::setGradientManager(QtGradientManager *manager)