tirilane
/
egon
Archived
1
0
Fork 0

Change in the booklist.

This commit is contained in:
Tiril Anette Langfeldt Rødland 2008-08-12 12:09:21 +00:00
parent b431ce82f2
commit e29712856c
2 changed files with 2 additions and 2 deletions

View File

@ -1345,7 +1345,7 @@ class CourseDlg(QDialog):
booksDB = getBooksFromDB()
booksStringList = QStringList()
for book in booksDB:
booksStringList.append(book.getTitle())
booksStringList.append(book.getAuthor() + u" : " + book.getTitle() + u", " + str(book.getEdition()) + u". edition")
self.booksEdit.addItems(booksStringList)
self.booksEdit.sortItems()

View File

@ -1345,7 +1345,7 @@ class CourseDlg(QDialog):
booksDB = getBooksFromDB()
booksStringList = QStringList()
for book in booksDB:
booksStringList.append(book.getTitle())
booksStringList.append(book.getAuthor() + u" : " + book.getTitle() + u", " + str(book.getEdition()) + u". utgave")
self.booksEdit.addItems(booksStringList)
self.booksEdit.sortItems()