[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kphotoalbum] XMLDB: Don't exclude "Z" when filling the "Tokens" category for the first time.
From: Tobias Leupold <tobias.leupold () web ! de>
Date: 2016-03-08 22:48:16
Message-ID: E1adQQK-0008GH-SE () scm ! kde ! org
[Download RAW message or body]
Git commit 29fdd6c405005f45ed70e5181a84a4691269196e by Tobias Leupold.
Committed on 08/03/2016 at 22:47.
Pushed by tleupold into branch 'master'.
Don't exclude "Z" when filling the "Tokens" category for the first time.
M +1 -1 XMLDB/FileReader.cpp
http://commits.kde.org/kphotoalbum/29fdd6c405005f45ed70e5181a84a4691269196e
diff --git a/XMLDB/FileReader.cpp b/XMLDB/FileReader.cpp
index d8cffcb..515d249 100644
--- a/XMLDB/FileReader.cpp
+++ b/XMLDB/FileReader.cpp
@@ -127,7 +127,7 @@ void XMLDB::FileReader::createSpecialCategories()
// KPhotoAlbum 2.2 did not write the tokens to the category section,
// so unless we do this small trick they will not show up when importing.
- for (char ch = 'A'; ch < 'Z'; ++ch) {
+ for (char ch = 'A'; ch <= 'Z'; ++ch) {
tokenCat->addItem(QString::fromUtf8("%1").arg(QChar::fromLatin1(ch)));
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic