Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
a65b2e6c
Commit
a65b2e6c
authored
Jul 08, 2015
by
Fabio Bas
Browse files
Changed url to cockatrice's tokens repo + minor fix
parent
eda55679
Changes
1
Hide whitespace changes
Inline
Side-by-side
oracle/src/oraclewizard.cpp
View file @
a65b2e6c
...
@@ -39,7 +39,7 @@
...
@@ -39,7 +39,7 @@
#define ALLSETS_URL "http://mtgjson.com/json/AllSets.json"
#define ALLSETS_URL "http://mtgjson.com/json/AllSets.json"
#endif
#endif
#define TOKENS_URL "https://raw.githubusercontent.com/
Psithief/
Cockatrice
-t
oken
s
/master/tokens.xml"
#define TOKENS_URL "https://raw.githubusercontent.com/Cockatrice
/Magic-T
oken/master/tokens.xml"
OracleWizard
::
OracleWizard
(
QWidget
*
parent
)
OracleWizard
::
OracleWizard
(
QWidget
*
parent
)
...
@@ -323,7 +323,7 @@ void LoadSetsPage::actDownloadProgressSetsFile(qint64 received, qint64 total)
...
@@ -323,7 +323,7 @@ void LoadSetsPage::actDownloadProgressSetsFile(qint64 received, qint64 total)
progressBar
->
setMaximum
(
total
);
progressBar
->
setMaximum
(
total
);
progressBar
->
setValue
(
received
);
progressBar
->
setValue
(
received
);
}
}
progressLabel
->
setText
(
tr
(
"Downloading (%1MB)"
).
arg
((
int
)
received
/
10
48576
));
progressLabel
->
setText
(
tr
(
"Downloading (%1MB)"
).
arg
((
int
)
received
/
(
10
24
*
1024
)
));
}
}
void
LoadSetsPage
::
actDownloadFinishedSetsFile
()
void
LoadSetsPage
::
actDownloadFinishedSetsFile
()
...
@@ -638,7 +638,7 @@ void LoadTokensPage::actDownloadProgressTokensFile(qint64 received, qint64 total
...
@@ -638,7 +638,7 @@ void LoadTokensPage::actDownloadProgressTokensFile(qint64 received, qint64 total
progressBar
->
setMaximum
(
total
);
progressBar
->
setMaximum
(
total
);
progressBar
->
setValue
(
received
);
progressBar
->
setValue
(
received
);
}
}
progressLabel
->
setText
(
tr
(
"Downloading (%1MB)"
).
arg
((
int
)
received
/
10
48576
));
progressLabel
->
setText
(
tr
(
"Downloading (%1MB)"
).
arg
((
int
)
received
/
(
10
24
*
1024
)
));
}
}
void
LoadTokensPage
::
actDownloadFinishedTokensFile
()
void
LoadTokensPage
::
actDownloadFinishedTokensFile
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment