Debugging output

This commit is contained in:
dt
2009-08-06 16:16:56 +02:00
parent 2948651fa9
commit 5146d23169
3 changed files with 0 additions and 9 deletions

View File

@@ -147,7 +147,6 @@ ProjectView::~ProjectView()
QSize ProjectView::sizeHint() const
{
qDebug()<<"sizeHint()"<<m_sizeHint;
return m_sizeHint;
}
@@ -159,12 +158,8 @@ void ProjectView::updateSizeHint()
}
int heightOffset = size().height() - viewport()->height();
qDebug()<<"heightOffset"<<heightOffset;
qDebug()<<"updating sizehint";
int heightPerRow = sizeHintForRow(0);
if (heightPerRow == -1) {
qDebug()<<"No row height";
heightPerRow = 30;
}
int rows = qMin(qMax(model()->rowCount(), 2), 6);