|
|
|
@ -575,8 +575,10 @@ void UBDocumentPublisher::onFinished(QNetworkReply *reply) |
|
|
|
|
QStringList qslCookieVals = qsCookieValue.split("; "); |
|
|
|
|
|
|
|
|
|
bool bTransferOk = false; |
|
|
|
|
for(int j = 0; j <= qslCookieVals.size(); j++) |
|
|
|
|
|
|
|
|
|
for(int j = 0; j < qslCookieVals.size(); j++) |
|
|
|
|
{ |
|
|
|
|
qDebug() << j; |
|
|
|
|
if(qslCookieVals.at(j).startsWith("assetStatus")) |
|
|
|
|
{ |
|
|
|
|
QStringList qslAsset = qslCookieVals.at(j).split("="); |
|
|
|
@ -587,6 +589,7 @@ void UBDocumentPublisher::onFinished(QNetworkReply *reply) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if(bTransferOk) |
|
|
|
|
{ |
|
|
|
|
UBApplication::showMessage(tr("Document uploaded correctly on the web.")); |
|
|
|
@ -595,6 +598,7 @@ void UBDocumentPublisher::onFinished(QNetworkReply *reply) |
|
|
|
|
{ |
|
|
|
|
UBApplication::showMessage(tr("Failed to upload document on the web.")); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
reply->deleteLater(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|