On Wednesday 22 January 2003 17:54, Richard Röjfors wrote:
> On Wed, 22 Jan 2003, Thomas Reitelbach wrote:
> > On Wednesday 22 January 2003 15:34, Thomas Reitelbach wrote:
> > > On Wednesday 22 January 2003 14:36, Richard Röjfors wrote:
> > > > Firstly I found an error in the code, in usereventdlg.cpp row 1757
> > > > and 1758. QStringList::size() is unknown so I looked in the
> > > > documentation for QT and found that the correct function should be
> > > > QStringList::count() so I changed to that and tried again.
> > >
> > > This will get fixed for the next release.
> >
> > ... if i could see the problem...
> > I don't find any use of size() at this point in the code. Can you please
> > double check? Which Licq version did you try to compile?
>
> I checked it out from the read-only cvs this morning.

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.

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:11:30 -0000
@@ -1755,7 +1755,7 @@ void UserSendFileEvent::browseFile()
     QString f;
     
     if (fl.size() > 1)
-      f = QString("%1 Files").arg(fl.size());
+      f = QString("%1 Files").arg(fl.count());
     else
       f = (*it);
       

Attachment: msg01926/pgp00000.pgp
Description: signature

Reply via email to