Add loading time of collections inf to log

This commit is contained in:
Simon De Backer
2020-08-31 21:22:26 +02:00
parent 51c4b16836
commit 504a061e71

View File

@@ -36,6 +36,7 @@
#include <QDesktopServices>
#include <QUrl>
#include <QTimer>
#include <QtGlobal>
/**
@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";
}
/**