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
b5c9492d
Commit
b5c9492d
authored
Jul 20, 2018
by
tooomm
Browse files
Revert "try different logic"
This reverts commit
e5a6b5b1
.
parent
e5a6b5b1
Changes
1
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/dlg_update.cpp
View file @
b5c9492d
...
...
@@ -143,7 +143,7 @@ void DlgUpdate::finishedUpdateCheck(bool needToUpdate, bool isCompatible, Releas
publishDate
=
release
->
getPublishDate
().
toString
(
Qt
::
DefaultLocaleLongDate
);
if
(
isCompatible
)
{
int
reply
;
if
(
getReleaseChannelUrl
()
==
STABLERELEASE_URL
)
{
// Stable Release
if
(
settingsCache
->
getUpdateReleaseChannel
()
->
getName
().
toUtf8
()
==
"Stable Releases"
)
{
// Stable Release
reply
=
QMessageBox
::
question
(
this
,
tr
(
"Update Available"
),
tr
(
"A new version of Cockatrice is available!"
)
+
"<br><br>"
+
"<b>"
+
tr
(
"New version"
)
+
...
...
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