Skip to content

UI/Toast中有异常输出 #2

@WindSnowLi

Description

@WindSnowLi

UI/Toast中的

Toast::paintEvent(QPaintEvent *event)

使用QPainter paint(this);的同时再使用

paint.begin(this);
paint.end();

会重复包含QPainter paint(this);,运行时会有异常输出QPainter::begin: Painter already active
可以尝试下删掉

paint.begin(this);
paint.end();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions