mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-03-20 10:17:16 +01:00
fixes #513
This commit is contained in:
parent
ac59f38634
commit
161fe11235
@ -122,12 +122,15 @@ debugDialog::debugDialog(QWidget *parent) :
|
||||
|
||||
m_dialog->debugText->append( QString("FWObjectDatabase index statistics:"));
|
||||
|
||||
int s,h,m;
|
||||
mw->activeProject()->db()->getIndexStats(s,h,m);
|
||||
m_dialog->debugText->append( QString(" index size: %1 records").arg(s) );
|
||||
m_dialog->debugText->append( QString(" hits: %1").arg(h) );
|
||||
m_dialog->debugText->append( QString(" misses: %1").arg(m) );
|
||||
m_dialog->debugText->append( "\n" );
|
||||
if (mw->activeProject())
|
||||
{
|
||||
int s,h,m;
|
||||
mw->activeProject()->db()->getIndexStats(s,h,m);
|
||||
m_dialog->debugText->append( QString(" index size: %1 records").arg(s) );
|
||||
m_dialog->debugText->append( QString(" hits: %1").arg(h) );
|
||||
m_dialog->debugText->append( QString(" misses: %1").arg(m) );
|
||||
m_dialog->debugText->append( "\n" );
|
||||
}
|
||||
|
||||
m_dialog->debugText->append( QString("QPixmapCache limit: %1 kb")
|
||||
.arg(QPixmapCache::cacheLimit()));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user