summaryrefslogtreecommitdiffstats
path: root/archiveiteminfoedit.cpp
diff options
context:
space:
mode:
authorArno <am@disconnect.de>2010-05-29 16:32:20 +0200
committerArno <am@disconnect.de>2010-05-29 16:32:20 +0200
commit482e7371d34477bd43d44c7b905354774de5d641 (patch)
treedf716064dd68d7c2933fe6aa52ebcea264ce7ddf /archiveiteminfoedit.cpp
parentca84789d9f288e39936a288c17eff247cb0f4a3f (diff)
downloadSheMov-482e7371d34477bd43d44c7b905354774de5d641.tar.gz
SheMov-482e7371d34477bd43d44c7b905354774de5d641.tar.bz2
SheMov-482e7371d34477bd43d44c7b905354774de5d641.zip
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.
Diffstat (limited to 'archiveiteminfoedit.cpp')
-rw-r--r--archiveiteminfoedit.cpp2
1 files changed, 1 insertions, 1 deletions
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 {