[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kphotoalbum] MainWindow: Hmm seems like there are both variants of my bad spelling
From:       Jesper K. Pedersen <blackie () kde ! org>
Date:       2014-07-31 18:33:04
Message-ID: E1XCvA0-0008U8-Cq () scm ! kde ! org
[Download RAW message or body]

Git commit 6571625c701093c13d666b768894570b9e1a46d4 by Jesper K. Pedersen.
Committed on 31/07/2014 at 18:33.
Pushed by blackie into branch 'master'.

Hmm seems like there are both variants of my bad spelling

M  +1    -1    MainWindow/BirthDatesDialog.cpp

http://commits.kde.org/kphotoalbum/6571625c701093c13d666b768894570b9e1a46d4

diff --git a/MainWindow/BirthDatesDialog.cpp b/MainWindow/BirthDatesDialog.cpp
index e2c543e..81cbdb6 100644
--- a/MainWindow/BirthDatesDialog.cpp
+++ b/MainWindow/BirthDatesDialog.cpp
@@ -81,7 +81,7 @@ BirthDatesDialog::BirthDatesDialog(QWidget *parent) :
     for (const DB::CategoryPtr& category: \
DB::ImageDB::instance()->categoryCollection()->categories()) {  \
if(!category->isSpecialCategory()) {  m_categoryBox->addItem(category->text(), \
                category->name());
-            if ( category->name() == QString::fromUtf8("Persons"))
+            if ( category->name() == QString::fromUtf8("Persons") || \
category->name() == QString::fromUtf8("People"))  defaultIndex = index;
             ++index;
         }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic