examples/itemviews/fetchmore/window.cpp
changeset 3 41300fa6a67c
parent 0 1918ee327afb
child 4 3b1da2848fc7
--- a/examples/itemviews/fetchmore/window.cpp	Tue Jan 26 12:42:25 2010 +0200
+++ b/examples/itemviews/fetchmore/window.cpp	Tue Feb 02 00:43:10 2010 +0200
@@ -59,9 +59,9 @@
     logViewer = new QTextBrowser;
     logViewer->setSizePolicy(QSizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred));
 
-    connect(lineEdit, SIGNAL(textChanged(const QString &)),
-            model, SLOT(setDirPath(const QString &)));
-    connect(lineEdit, SIGNAL(textChanged(const QString &)),
+    connect(lineEdit, SIGNAL(textChanged(QString)),
+            model, SLOT(setDirPath(QString)));
+    connect(lineEdit, SIGNAL(textChanged(QString)),
             logViewer, SLOT(clear()));
     connect(model, SIGNAL(numberPopulated(int)),
             this, SLOT(updateLog(int)));