Dialog.cpp   Dialog.cpp 
skipping to change at line 68 skipping to change at line 68
targetPos.setY(lowerBoundY); targetPos.setY(lowerBoundY);
p->move(targetPos); p->move(targetPos);
//emit movedTo(targetPos); //emit movedTo(targetPos);
} }
void ResizeFrame::mouseMoveEvent(QMouseEvent *event) void ResizeFrame::mouseMoveEvent(QMouseEvent *event)
{ {
QPoint dpos = event->pos() - mousePos; QPoint dpos = event->pos() - mousePos;
QWidget* p = dynamic_cast<QWidget*>(QFrame::parent()->parent()); QWidget* p = dynamic_cast<QWidget*>(QFrame::parent()->parent());
if (p!=NULL) if (p!=Q_NULLPTR)
{ {
int w = p->size().width(); int w = p->size().width();
int h = p->size().height(); int h = p->size().height();
int minw; int minw;
int minh; int minh;
if (p->minimumSizeHint().isValid()) if (p->minimumSizeHint().isValid())
{ {
minw = p->minimumSizeHint().width(); minw = p->minimumSizeHint().width();
minh = p->minimumSizeHint().height(); minh = p->minimumSizeHint().height();
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/