summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/addressbook/abconfig.cpp2
-rw-r--r--core/pim/addressbook/abconfig.h2
-rw-r--r--core/pim/addressbook/abview.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/core/pim/addressbook/abconfig.cpp b/core/pim/addressbook/abconfig.cpp
index 4a0875b..a3fd222 100644
--- a/core/pim/addressbook/abconfig.cpp
+++ b/core/pim/addressbook/abconfig.cpp
@@ -132,7 +132,7 @@ void AbConfig::load()
cfg.setGroup("Search");
m_useRegExp = cfg.readBoolEntry( "useRegExp", false );
m_beCaseSensitive = cfg.readBoolEntry( "caseSensitive", false );
- m_lpSearchMode = cfg.readNumEntry( "lpSearchMode", FullName );
+ m_lpSearchMode = cfg.readNumEntry( "lpSearchMode", FileAs );
cfg.setGroup("Mail");
m_useQtMail = cfg.readBoolEntry( "useQtMail", true );
diff --git a/core/pim/addressbook/abconfig.h b/core/pim/addressbook/abconfig.h
index 93764f2..c312179 100644
--- a/core/pim/addressbook/abconfig.h
+++ b/core/pim/addressbook/abconfig.h
@@ -9,7 +9,7 @@ class AbConfig
public:
enum LPSearchMode{
LastName = 0,
- FullName,
+ FileAs,
LASTELEMENT
};
diff --git a/core/pim/addressbook/abview.cpp b/core/pim/addressbook/abview.cpp
index 664bd3f..477f85b 100644
--- a/core/pim/addressbook/abview.cpp
+++ b/core/pim/addressbook/abview.cpp
@@ -241,7 +241,7 @@ void AbView::setShowByLetter( char c, AbConfig::LPSearchMode mode )
case AbConfig::LastName:
query.setLastName( QString("%1*").arg(c) );
break;
- case AbConfig::FullName:
+ case AbConfig::FileAs:
query.setFileAs( QString("%1*").arg(c) );
break;
default: