From d959497b3c1b469d5e7bfcc161198823ca8e7a4d Mon Sep 17 00:00:00 2001 From: Michael Andreen Date: Fri, 1 Dec 2000 18:26:45 +0000 Subject: [PATCH] Tried to fix the numbering in ContactView. It didn't work =(. --- mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++; -- 2.39.2