tools/shared/qtgradienteditor/qtgradientviewdialog.cpp
changeset 3 41300fa6a67c
parent 0 1918ee327afb
child 4 3b1da2848fc7
--- 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)