Skip to content

Commit

Permalink
Get parameters back from server.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kjell Morgenstern authored and KjellMorgenstern committed Dec 12, 2023
1 parent cc83955 commit 20f982a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/dialogs/fabuploadprogress.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,13 @@ void FabUploadProgress::onRequestUploadFinished()
// qDebug() << j["upload_url"].toString() << Qt::endl << Qt::flush;
QUrl upload_url(QUrl::fromUserInput(j["upload_url"].toString()));
QUrl project_url(j["project_url"].toString());

QString fabserver_url = j["fabserver_url"].toString();
QString fabserver_id = j["fabserver_id"].toString();
QString fabserver_version = j["fabserver_version"].toString();

qDebug() << "fabserver_url: " << fabserver_url << "fabserver_id: " << fabserver_id << "fabserver_version" << fabserver_version << Qt::endl << Qt::flush;

uploadMultipart(upload_url, mFilepath);
QSettings settings;
settings.setValue("aisler/" + mFilepath, j["upload_url"].toString());
Expand Down

0 comments on commit 20f982a

Please sign in to comment.