Skip to content

Commit

Permalink
fix: wrong judgment conditions
Browse files Browse the repository at this point in the history
assert player not nullptr
  • Loading branch information
kegechen committed Jul 22, 2024
1 parent 8f03ae9 commit 277264c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/ddciiconplayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -692,7 +692,7 @@ bool DDciIconPlayerPrivate::ensureHoverModeLastImage()
}
if (!image.atEnd())
return false;
Q_ASSERT(!player);
Q_ASSERT(player);
hoverModeLastImage = image.toImage(player->palette());
return !hoverModeLastImage.isNull();
}
Expand Down

0 comments on commit 277264c

Please sign in to comment.