QtWidgets: normalize signals/slots
authorMarc Mutz <marc.mutz@kdab.com>
Thu, 12 Jul 2012 20:27:04 +0000 (22:27 +0200)
committerQt by Nokia <qt-info@nokia.com>
Fri, 13 Jul 2012 07:55:18 +0000 (09:55 +0200)
This is the result of running util/normalize --modify
from Qt 4.7  with manual review.

Change-Id: I024d48cd111ab89f3fe83d9df51b188c9ad5023c
Reviewed-by: Laszlo Papp <lpapp@kde.org>
Reviewed-by: Debao Zhang <dbzhang800@gmail.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
src/widgets/widgets/qlineedit_p.cpp

index d1c374a..6147c6d 100644 (file)
@@ -181,7 +181,7 @@ void QLineEditPrivate::init(const QString& txt)
     QObject::connect(control, SIGNAL(cursorPositionChanged(int,int)),
             q, SLOT(updateMicroFocus()));
     
-    QObject::connect(control, SIGNAL(textChanged(const QString &)),
+    QObject::connect(control, SIGNAL(textChanged(QString)),
             q, SLOT(updateMicroFocus()));
 
     // for now, going completely overboard with updates.