From ce8ea6b4830f4e11bca2e746fbda9783dc75c5f2 Mon Sep 17 00:00:00 2001 From: wmayer Date: Thu, 13 Aug 2020 14:21:55 +0200 Subject: [PATCH] Gui: [skip ci] fix warning when opening recovery dialog in debug mode --- src/Gui/DocumentRecovery.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Gui/DocumentRecovery.cpp b/src/Gui/DocumentRecovery.cpp index ad9df045e7..8dbcaa6618 100644 --- a/src/Gui/DocumentRecovery.cpp +++ b/src/Gui/DocumentRecovery.cpp @@ -200,6 +200,8 @@ DocumentRecovery::DocumentRecovery(const QList& dirs, QWidget* parent d_ptr->ui.treeWidget->addTopLevelItem(item); } } + + this->adjustSize(); } DocumentRecovery::~DocumentRecovery()