1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-20 11:47:46 +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 {
auto result = parser->parseImage(qimageFromXImage(image));
if (result != lastResult) {
lastResult = result;
switch (result.state) {
case ScreenState::InLoginQueue: {
icon->showMessage("Watchdog",
@ -165,6 +163,8 @@ void Watchdog::launchGame(const ProfileSettings &settings, LoginAuth auth) {
}
break;
}
lastResult = result;
}
XFreePixmap(display, picture);