diff options
author | deva <deva> | 2010-05-06 12:31:40 +0000 |
---|---|---|
committer | deva <deva> | 2010-05-06 12:31:40 +0000 |
commit | 3241d29dec9beb0c367340465bd8d9bcab863692 (patch) | |
tree | d1f2bdd5b6c625519ac8bafcb5f06947193881e5 /client/netcom.cc | |
parent | 770335df63d0a42653aaf53bbf2c5532b52bd367 (diff) |
Add error box on server error. (on commit).
Diffstat (limited to 'client/netcom.cc')
-rw-r--r-- | client/netcom.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/client/netcom.cc b/client/netcom.cc index 3d2acf0..4deba49 100644 --- a/client/netcom.cc +++ b/client/netcom.cc @@ -146,8 +146,8 @@ QDomDocument NetCom::send(QString templ, QString macro, bool lockgui) return makeTransfer(doc, false, lockgui); } -void NetCom::send(QVector< Widget* > widgets, QString templ, - QString macro, QString version) +QDomDocument NetCom::send(QVector< Widget* > widgets, QString templ, + QString macro, QString version) { QDomDocument doc; @@ -182,6 +182,6 @@ void NetCom::send(QVector< Widget* > widgets, QString templ, i++; } - - makeTransfer(doc, false, true); + + return makeTransfer(doc, false, true); } |