mirror of
https://github.com/vanilla-wiiu/vanilla.git
synced 2025-01-22 08:11:47 -05:00
app: always clear viewer
This commit is contained in:
parent
ac4921eddf
commit
c3b94cc1ac
1 changed files with 2 additions and 1 deletions
|
@ -18,8 +18,9 @@ void Viewer::paintGL()
|
|||
{
|
||||
QPainter p(this);
|
||||
|
||||
if (m_image.isNull()) {
|
||||
p.fillRect(this->rect(), Qt::black);
|
||||
|
||||
if (m_image.isNull()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue