Add more information to help debugging

pull/2/head
Darrell Anderson 12 years ago committed by Timothy Pearson
parent d10d2321a3
commit 902e15edcf

@ -2223,7 +2223,7 @@ void QWidget::setMinimumSize( int minw, int minh )
{
#if defined(QT_CHECK_RANGE)
if ( minw < 0 || minh < 0 )
qWarning("QWidget::setMinimumSize: The smallest allowed size is (0,0)");
qWarning("QWidget::setMinimumSize: minw=%d, minh=%d. The smallest allowed size is (0,0)", minw, minh);
#endif
createExtra();
if ( extra->minw == minw && extra->minh == minh )

Loading…
Cancel
Save