diff -r 56cd8111b7f7 -r 41300fa6a67c examples/itemviews/fetchmore/window.cpp --- 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)));