unify address order in cart and order win
authorkonrad <konrad@6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33>
Sat, 11 Dec 2010 21:33:39 +0000 (21:33 +0000)
committerkonrad <konrad@6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33>
Sat, 11 Dec 2010 21:33:39 +0000 (21:33 +0000)
git-svn-id: https://silmor.de/svn/softmagic/smoke/trunk@661 6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33

src/dialogs/orderwin.cpp

index 5997f57..a935233 100644 (file)
@@ -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);