summaryrefslogtreecommitdiff
path: root/core/pim/today/plugins/addressbook/addresspluginwidget.cpp
Unidiff
Diffstat (limited to 'core/pim/today/plugins/addressbook/addresspluginwidget.cpp') (more/less context) (show whitespace changes)
-rw-r--r--core/pim/today/plugins/addressbook/addresspluginwidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/pim/today/plugins/addressbook/addresspluginwidget.cpp b/core/pim/today/plugins/addressbook/addresspluginwidget.cpp
index df7c5e1..5662af2 100644
--- a/core/pim/today/plugins/addressbook/addresspluginwidget.cpp
+++ b/core/pim/today/plugins/addressbook/addresspluginwidget.cpp
@@ -99,13 +99,12 @@ void AddressBookPluginWidget::getAddress() {
99 // Define the query for birthdays and start search.. 99 // Define the query for birthdays and start search..
100 QDate lookAheadDate = QDate::currentDate().addDays( m_daysLookAhead ); 100 QDate lookAheadDate = QDate::currentDate().addDays( m_daysLookAhead );
101 int ammount = 0; 101 int ammount = 0;
102 if ( m_showBirthdays ){ 102 if ( m_showBirthdays ){
103 owarn << "Searching from now (" << QDate::currentDate().toString() << ") until " 103 owarn << "Searching from now (" << QDate::currentDate().toString() << ") until "
104 << lookAheadDate.toString() << " ! " << oendl; 104 << lookAheadDate.toString() << " ! " << oendl;
105 }
106 105
107 if ( m_contactdb->hasQuerySettings( Opie::OPimContactAccess::DateDiff ) ){ 106 if ( m_contactdb->hasQuerySettings( Opie::OPimContactAccess::DateDiff ) ){
108 107
109 108
110 Opie::OPimContact querybirthdays; 109 Opie::OPimContact querybirthdays;
111 querybirthdays.setBirthday( lookAheadDate ); 110 querybirthdays.setBirthday( lookAheadDate );
@@ -151,12 +150,13 @@ void AddressBookPluginWidget::getAddress() {
151 output = "<font color=" + m_headlineColor + ">" 150 output = "<font color=" + m_headlineColor + ">"
152 + QObject::tr( "No birthdays in <b> %1 </b> days!" ) 151 + QObject::tr( "No birthdays in <b> %1 </b> days!" )
153 .arg( m_daysLookAhead ) 152 .arg( m_daysLookAhead )
154 + "</font> <br>"; 153 + "</font> <br>";
155 } 154 }
156 } 155 }
156 }
157 157
158 if ( m_showAnniversaries ){ 158 if ( m_showAnniversaries ){
159 // Define the query for anniversaries and start search.. 159 // Define the query for anniversaries and start search..
160 Opie::OPimContact queryanniversaries; 160 Opie::OPimContact queryanniversaries;
161 queryanniversaries.setAnniversary( lookAheadDate ); 161 queryanniversaries.setAnniversary( lookAheadDate );
162 162