On Wednesday 22 January 2003 18:20, Thomas Reitelbach wrote: > Ah, your sources were newer than mine, this bug has indeed been introduced > yesterday. > The attached mini-patch should fix the compile error regarding > QStringList::size() error. > > It should be fixed in the CVS soon.
Ups. Last patch missed 1 size(), this patch is better ;-) thomas
Index: plugins/qt-gui/src/usereventdlg.cpp
===================================================================
RCS file: /cvsroot/licq/qt-gui/src/usereventdlg.cpp,v
retrieving revision 1.96
diff -u -3 -p -r1.96 usereventdlg.cpp
--- plugins/qt-gui/src/usereventdlg.cpp 21 Jan 2003 02:00:36 -0000 1.96
+++ plugins/qt-gui/src/usereventdlg.cpp 22 Jan 2003 17:33:39 -0000
@@ -1754,8 +1754,8 @@ void UserSendFileEvent::browseFile()
QStringList::ConstIterator it = fl.begin();
QString f;
- if (fl.size() > 1)
- f = QString("%1 Files").arg(fl.size());
+ if (fl.count() > 1)
+ f = QString("%1 Files").arg(fl.count());
else
f = (*it);
msg01928/pgp00000.pgp
Description: signature
