From 504a061e71fdf00fc92557118e2709ff3a148130 Mon Sep 17 00:00:00 2001 From: Simon De Backer Date: Mon, 31 Aug 2020 21:22:26 +0200 Subject: [PATCH] Add loading time of collections inf to log --- sources/ElementsCollection/elementscollectionwidget.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sources/ElementsCollection/elementscollectionwidget.cpp b/sources/ElementsCollection/elementscollectionwidget.cpp index ce4d55ee8..396037d5b 100644 --- a/sources/ElementsCollection/elementscollectionwidget.cpp +++ b/sources/ElementsCollection/elementscollectionwidget.cpp @@ -36,6 +36,7 @@ #include #include #include +#include /** @brief ElementsCollectionWidget::ElementsCollectionWidget @@ -614,6 +615,7 @@ void ElementsCollectionWidget::dirProperties() */ void ElementsCollectionWidget::reload() { + qInfo()<<"Elements collection reload"; m_progress_bar->show(); // Force to repaint now, // else progress bar will be not displayed immediately @@ -672,6 +674,8 @@ void ElementsCollectionWidget::loadingFinished() m_progress_bar->hide(); m_tree_view->setEnabled(true); + + qInfo()<<"Elements collection finished to be loaded"; } /**