From 482e7371d34477bd43d44c7b905354774de5d641 Mon Sep 17 00:00:00 2001 From: Arno Date: Sat, 29 May 2010 16:32:20 +0200 Subject: Implemented ArchiveItemEditDialog::accept() Now the update button from ArchiveItemEditDialog actually updates something. The cover handling is much cleaner than in CoverArchiveEditor on first glance. This means I can get rid of CoverArchiveEditor and EditArchiveItemDialog at last. --- archiveiteminfoedit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archiveiteminfoedit.cpp') diff --git a/archiveiteminfoedit.cpp b/archiveiteminfoedit.cpp index 4ec7d18..4efa01c 100644 --- a/archiveiteminfoedit.cpp +++ b/archiveiteminfoedit.cpp @@ -153,7 +153,7 @@ const QString ArchiveItemInfoEdit::genre() const { } const QString ArchiveItemInfoEdit::title() const { - return mTitle->text(); + return mTitle->text().trimmed().toLower(); } const QStringList ArchiveItemInfoEdit::actors() const { -- cgit v1.2.3-70-g09d2