forked from qt-creator/qt-creator
Debugging output
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user