Richard Heck wrote:
I found the source of the error:
QWidget::setMinimumSize: (QGraphicsUi/lyx::frontend::QGraphicsDialog)
Negative sizes (-1,-1) are not possible
that I've been getting with the graphics dialog. In QDialogView::show()
we have:
form()->setMinimumSize(form()->sizeHint());
but QGraphicsDialog returns an invalid size hint, since the widget as a
whole has no layout. So it seems to me that we'd be better off with:
if (form()->sizeHint().isValid())
form()->setMinimumSize(form()->sizeHint());
Yes?
If that seems OK, I'll commit it.
I hereby acknowledge and confirm the non stupidity of what you are
intending to commit!
Abdel.