summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--library/findwidget_p.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/library/findwidget_p.cpp b/library/findwidget_p.cpp
index 9ecaa40..287e125 100644
--- a/library/findwidget_p.cpp
+++ b/library/findwidget_p.cpp
@@ -95,25 +95,26 @@ void FindWidget::setUseDate( bool show )
95 } 95 }
96 chkBackwards->setDisabled( show ); 96 chkBackwards->setDisabled( show );
97} 97}
98 98
99void FindWidget::setDate( const QDate &dt ) 99void FindWidget::setDate( const QDate &dt )
100{ 100{
101 slotDateChanged( dt.year(), dt.month(), dt.day() ); 101 slotDateChanged( dt.year(), dt.month(), dt.day() );
102} 102}
103 103
104void FindWidget::slotNotFound() 104void FindWidget::slotNotFound()
105{ 105{
106 lblStatus->setText( tr("String Not Found.") ); 106 lblStatus->setText( tr("String Not Found.") );
107} 107}
108 108
109void FindWidget::slotWrapAround() 109void FindWidget::slotWrapAround()
110{ 110{
111 lblStatus->setText( tr("End reached, starting at beginning") ); 111 lblStatus->setText( tr("End reached, starting at %1", "Date using TimeString::shortDate")
112 .arg(TimeString::shortDate( mDate ) ) );
112} 113}
113 114
114void FindWidget::slotDateChanged( int year, int month, int day ) 115void FindWidget::slotDateChanged( int year, int month, int day )
115{ 116{
116 mDate.setYMD( year, month, day ); 117 mDate.setYMD( year, month, day );
117 cmdStartDate->setText( TimeString::shortDate( mDate ) ); 118 cmdStartDate->setText( TimeString::shortDate( mDate ) );
118 dtPicker->setDate( year, month, day ); 119 dtPicker->setDate( year, month, day );
119} 120}