From a65b2e6c9491d0e38e41ebc5573862395b884b8e Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Wed, 8 Jul 2015 19:31:04 +0200 Subject: [PATCH] Changed url to cockatrice's tokens repo + minor fix --- oracle/src/oraclewizard.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/oracle/src/oraclewizard.cpp b/oracle/src/oraclewizard.cpp index d1dd1a33..0924bcc7 100644 --- a/oracle/src/oraclewizard.cpp +++ b/oracle/src/oraclewizard.cpp @@ -39,7 +39,7 @@ #define ALLSETS_URL "http://mtgjson.com/json/AllSets.json" #endif -#define TOKENS_URL "https://raw.githubusercontent.com/Psithief/Cockatrice-tokens/master/tokens.xml" +#define TOKENS_URL "https://raw.githubusercontent.com/Cockatrice/Magic-Token/master/tokens.xml" OracleWizard::OracleWizard(QWidget *parent) @@ -323,7 +323,7 @@ void LoadSetsPage::actDownloadProgressSetsFile(qint64 received, qint64 total) progressBar->setMaximum(total); progressBar->setValue(received); } - progressLabel->setText(tr("Downloading (%1MB)").arg((int) received / 1048576)); + progressLabel->setText(tr("Downloading (%1MB)").arg((int) received / (1024 * 1024))); } void LoadSetsPage::actDownloadFinishedSetsFile() @@ -638,7 +638,7 @@ void LoadTokensPage::actDownloadProgressTokensFile(qint64 received, qint64 total progressBar->setMaximum(total); progressBar->setValue(received); } - progressLabel->setText(tr("Downloading (%1MB)").arg((int) received / 1048576)); + progressLabel->setText(tr("Downloading (%1MB)").arg((int) received / (1024 * 1024))); } void LoadTokensPage::actDownloadFinishedTokensFile()