mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Fix crash in stats with Qt 6 on Windows.
This commit is contained in:
@@ -765,13 +765,13 @@ void InnerWidget::fill() {
|
||||
creditsSecondLabel->resizeToWidth(
|
||||
available - creditsSecondLabel->pos().x());
|
||||
if (!showCredits) {
|
||||
const auto x = std::numeric_limits<int>::max();
|
||||
const auto x = std::numeric_limits<int>::max() / 2;
|
||||
icon->moveToLeft(x, 0);
|
||||
creditsLabel->moveToLeft(x, 0);
|
||||
creditsSecondLabel->moveToLeft(x, 0);
|
||||
}
|
||||
if (!showCurrency) {
|
||||
const auto x = std::numeric_limits<int>::max();
|
||||
const auto x = std::numeric_limits<int>::max() / 2;
|
||||
majorLabel->moveToLeft(x, 0);
|
||||
minorLabel->moveToLeft(x, 0);
|
||||
secondMinorLabel->moveToLeft(x, 0);
|
||||
|
||||
Reference in New Issue
Block a user