From 690018d0567a390eb3b7099bb2d712c614e7d73b Mon Sep 17 00:00:00 2001 From: konrad Date: Sat, 11 Dec 2010 21:39:10 +0000 Subject: [PATCH] more reasonable default start for find orders since git-svn-id: https://silmor.de/svn/softmagic/smoke/trunk@662 6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33 --- src/mwin/orderstab.cpp | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) 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); -- 1.7.2.5