more reasonable default start for find orders since
authorkonrad <konrad@6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33>
Sat, 11 Dec 2010 21:39:10 +0000 (21:39 +0000)
committerkonrad <konrad@6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33>
Sat, 11 Dec 2010 21:39:10 +0000 (21:39 +0000)
git-svn-id: https://silmor.de/svn/softmagic/smoke/trunk@662 6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33

src/mwin/orderstab.cpp

index 9f1ce17..869092e 100644 (file)
@@ -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);