1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-20 19:57:45 +00:00

Fix login queue message not correctly showing number of spots moved

This commit is contained in:
redstrate 2021-12-07 20:30:36 -05:00
parent 63faea21cb
commit 2a352e67dd

View file

@ -138,8 +138,6 @@ void Watchdog::launchGame(const ProfileSettings &settings, LoginAuth auth) {
} else { } else {
auto result = parser->parseImage(qimageFromXImage(image)); auto result = parser->parseImage(qimageFromXImage(image));
if (result != lastResult) { if (result != lastResult) {
lastResult = result;
switch (result.state) { switch (result.state) {
case ScreenState::InLoginQueue: { case ScreenState::InLoginQueue: {
icon->showMessage("Watchdog", icon->showMessage("Watchdog",
@ -165,6 +163,8 @@ void Watchdog::launchGame(const ProfileSettings &settings, LoginAuth auth) {
} }
break; break;
} }
lastResult = result;
} }
XFreePixmap(display, picture); XFreePixmap(display, picture);