From: Michael Andreen Date: Fri, 1 Dec 2000 18:26:45 +0000 (+0000) Subject: Tried to fix the numbering in ContactView. It didn't work =(. X-Git-Tag: a~17 X-Git-Url: https://ruin.nu/git/?p=adress.git;a=commitdiff_plain;h=d959497b3c1b469d5e7bfcc161198823ca8e7a4d Tried to fix the numbering in ContactView. It didn't work =(. --- diff --git a/mainwindow.cpp b/mainwindow.cpp index 34c431e..0bafd08 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -95,7 +95,7 @@ void MainWindow::updateView() while (contact != '\0') { - s = i; + s.sprintf("%1").arg(i); (void) new QListViewItem(ContactView, s, contact->lastname(), contact->firstname(), contact->adress(), contact->phoneNumber()); contact = contact->getNext(); i++;