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

List:       kde-commits
Subject:    KDE/kdenetwork/kopete/protocols/groupwise/ui
From:       Will Stephenson <wstephenson () kde ! org>
Date:       2008-05-11 8:08:20
Message-ID: 1210493300.776579.30831.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 806365 by wstephens:

Use shared QByteArray literals where possible

 M  +2 -2      gwsearch.cpp  


--- trunk/KDE/kdenetwork/kopete/protocols/groupwise/ui/gwsearch.cpp #806364:806365
@@ -287,7 +287,7 @@
 	{
 		GroupWise::UserSearchQueryTerm arg;
 		arg.argument = m_firstName->text();
-		arg.field = "Given Name";
+		arg.field = Field::KOPETE_NM_USER_DETAILS_GIVEN_NAME;
 		arg.operation = searchOperation( m_firstNameOperation->currentIndex() );
 		searchTerms.append( arg );
 	}
@@ -295,7 +295,7 @@
 	{
 		GroupWise::UserSearchQueryTerm arg;
 		arg.argument = m_lastName->text();
-		arg.field = "Surname";
+		arg.field = Field::KOPETE_NM_USER_DETAILS_SURNAME;
 		arg.operation = searchOperation( m_lastNameOperation->currentIndex() );
 		searchTerms.append( arg );
 	}
[prev in list] [next in list] [prev in thread] [next in thread] 

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