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:
parent
63faea21cb
commit
2a352e67dd
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Reference in a new issue