mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-21 08:40:53 +01:00
Add loading time of collections inf to log
This commit is contained in:
@@ -36,6 +36,7 @@
|
|||||||
#include <QDesktopServices>
|
#include <QDesktopServices>
|
||||||
#include <QUrl>
|
#include <QUrl>
|
||||||
#include <QTimer>
|
#include <QTimer>
|
||||||
|
#include <QtGlobal>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@brief ElementsCollectionWidget::ElementsCollectionWidget
|
@brief ElementsCollectionWidget::ElementsCollectionWidget
|
||||||
@@ -614,6 +615,7 @@ void ElementsCollectionWidget::dirProperties()
|
|||||||
*/
|
*/
|
||||||
void ElementsCollectionWidget::reload()
|
void ElementsCollectionWidget::reload()
|
||||||
{
|
{
|
||||||
|
qInfo()<<"Elements collection reload";
|
||||||
m_progress_bar->show();
|
m_progress_bar->show();
|
||||||
// Force to repaint now,
|
// Force to repaint now,
|
||||||
// else progress bar will be not displayed immediately
|
// else progress bar will be not displayed immediately
|
||||||
@@ -672,6 +674,8 @@ void ElementsCollectionWidget::loadingFinished()
|
|||||||
|
|
||||||
m_progress_bar->hide();
|
m_progress_bar->hide();
|
||||||
m_tree_view->setEnabled(true);
|
m_tree_view->setEnabled(true);
|
||||||
|
|
||||||
|
qInfo()<<"Elements collection finished to be loaded";
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user