mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Share dialog: Work around painting bug #4189
This commit is contained in:
parent
c6a65c692e
commit
5216648d0b
@ -301,6 +301,11 @@ void ShareWidget::slotDeleteAnimationFinished()
|
||||
{
|
||||
resizeRequested();
|
||||
deleteLater();
|
||||
|
||||
// There is a painting bug where a small line of this widget isn't
|
||||
// properly cleared. This explicit repaint() call makes sure any trace of
|
||||
// the share widget is removed once it's destroyed. #4189
|
||||
connect(this, SIGNAL(destroyed(QObject*)), parentWidget(), SLOT(repaint()));
|
||||
}
|
||||
|
||||
void ShareWidget::slotShareDeleted()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user