From: konrad Date: Sat, 11 Dec 2010 21:39:10 +0000 (+0000) Subject: more reasonable default start for find orders since X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=690018d0567a390eb3b7099bb2d712c614e7d73b;p=web%2Fkonrad%2Fsmoke.git more reasonable default start for find orders since git-svn-id: https://silmor.de/svn/softmagic/smoke/trunk@662 6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33 --- diff --git a/src/mwin/orderstab.cpp b/src/mwin/orderstab.cpp index 9f1ce17..869092e 100644 --- a/src/mwin/orderstab.cpp +++ b/src/mwin/orderstab.cpp @@ -190,6 +190,7 @@ void MOrdersTab::orderSinceDate() QDateTimeEdit*dte; vl->addWidget(dte=new QDateTimeEdit(TimeStamp(oldestOrderStamp()).toDateTime())); dte->setDisplayFormat(tr("ddd MMMM d yyyy, h:mm ap","time format")); + dte->setDateTime(QDateTime::currentDateTime().addDays(-1)); dte->setCalendarPopup(true); vl->addSpacing(10);vl->addStretch(1); vl->addLayout(hl=new QHBoxLayout);