update login flow
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
6b1c4981e7
commit
c4a65dd861
15 changed files with 421 additions and 166 deletions
|
@ -996,6 +996,14 @@ void MainWindow::processURLs(QList<QUrl> urls)
|
|||
dlUrlDialod.execWithTask(job.get());
|
||||
}
|
||||
|
||||
} else if (url.scheme() == BuildConfig.LAUNCHER_APP_BINARY_NAME) {
|
||||
QVariantMap receivedData;
|
||||
const QUrlQuery query(url.query());
|
||||
const auto items = query.queryItems();
|
||||
for (auto it = items.begin(), end = items.end(); it != end; ++it)
|
||||
receivedData.insert(it->first, it->second);
|
||||
emit APPLICATION->oauthReplyRecieved(receivedData);
|
||||
continue;
|
||||
} else {
|
||||
dl_url = url;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue