mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-02 15:45:12 +00:00
Replace t_assert() with Assert().
Also use this assertions for Expects(), Ensures() and Unexpected().
This commit is contained in:
@@ -143,7 +143,7 @@ void TabbedPanel::paintEvent(QPaintEvent *e) {
|
||||
}
|
||||
|
||||
if (showAnimating) {
|
||||
t_assert(_showAnimation != nullptr);
|
||||
Assert(_showAnimation != nullptr);
|
||||
if (auto opacity = _a_opacity.current(_hiding ? 0. : 1.)) {
|
||||
_showAnimation->paintFrame(p, 0, 0, width(), _a_show.current(1.), opacity);
|
||||
}
|
||||
|
Reference in New Issue
Block a user