Skip to content
Snippets Groups Projects
Commit c2ebf585 authored by dt's avatar dt
Browse files

Even less debug output.

parent 6d7a62b9
No related branches found
No related tags found
No related merge requests found
...@@ -158,7 +158,6 @@ DependenciesView::~DependenciesView() ...@@ -158,7 +158,6 @@ DependenciesView::~DependenciesView()
QSize DependenciesView::sizeHint() const QSize DependenciesView::sizeHint() const
{ {
qDebug()<<"sizeHint()"<<m_sizeHint;
return m_sizeHint; return m_sizeHint;
} }
...@@ -199,10 +198,8 @@ void DependenciesView::updateSizeHint() ...@@ -199,10 +198,8 @@ void DependenciesView::updateSizeHint()
int heightOffset = size().height() - viewport()->height(); int heightOffset = size().height() - viewport()->height();
qDebug()<<"updating sizehint";
int heightPerRow = sizeHintForRow(0); int heightPerRow = sizeHintForRow(0);
if (heightPerRow == -1) { if (heightPerRow == -1) {
qDebug()<<"No row height";
heightPerRow = 30; heightPerRow = 30;
} }
int rows = qMin(qMax(model()->rowCount(), 2), 10); int rows = qMin(qMax(model()->rowCount(), 2), 10);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment