From: konrad Date: Sat, 11 Dec 2010 21:33:39 +0000 (+0000) Subject: unify address order in cart and order win X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=f26031104b1d542c24eec907a9bb24f05bfc948f;p=web%2Fkonrad%2Fsmoke.git unify address order in cart and order win git-svn-id: https://silmor.de/svn/softmagic/smoke/trunk@661 6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33 --- diff --git a/src/dialogs/orderwin.cpp b/src/dialogs/orderwin.cpp index 5997f57..a935233 100644 --- a/src/dialogs/orderwin.cpp +++ b/src/dialogs/orderwin.cpp @@ -138,14 +138,14 @@ MOrderWindow::MOrderWindow(QWidget*par,const MOOrder&o) gl->addWidget(m_sentdate=new QLabel(),rw,1); gl->addWidget(new QLabel(tr("Customer:")),++rw,0); gl->addWidget(m_custname=new QLabel(),rw,1); - gl->addWidget(lab=new QLabel(tr("Delivery Address:")),++rw,0); - lab->setAlignment(Qt::AlignTop); - gl->addWidget(m_daddr=lab=new QLabel(),rw,1); - lab->setWordWrap(true);lab->setFrameShape(lab->Box);lab->setFrameShadow(lab->Raised); gl->addWidget(lab=new QLabel(tr("Invoice Address:")),++rw,0); lab->setAlignment(Qt::AlignTop); gl->addWidget(m_iaddr=lab=new QLabel(),rw,1); lab->setWordWrap(true);lab->setFrameShape(lab->Box);lab->setFrameShadow(lab->Raised); + gl->addWidget(lab=new QLabel(tr("Delivery Address:")),++rw,0); + lab->setAlignment(Qt::AlignTop); + gl->addWidget(m_daddr=lab=new QLabel(),rw,1); + lab->setWordWrap(true);lab->setFrameShape(lab->Box);lab->setFrameShadow(lab->Raised); gl->addWidget(new QLabel(tr("Shipping Method:")),++rw,0); gl->addWidget(m_shipmeth=new QLabel(),rw,1); gl->addWidget(new QLabel(tr("Shipping Costs:")),++rw,0);