Tried to fix the numbering in ContactView. It didn't work =(.
authorMichael Andreen <harv@ruin.nu>
Fri, 1 Dec 2000 18:26:45 +0000 (18:26 +0000)
committerMichael Andreen <harv@ruin.nu>
Fri, 1 Dec 2000 18:26:45 +0000 (18:26 +0000)
mainwindow.cpp

index 34c431e..0bafd08 100644 (file)
@@ -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++;