~georg-zotti/stellarium/gz_AtmosphereTweaks

« back to all changes in this revision

Viewing changes to src/gui/Dialog.cpp

  • Committer: Georg Zotti
  • Date: 2017-05-23 13:18:09 UTC
  • mfrom: (8115.1.1321 trunk)
  • Revision ID: georg.zotti@univie.ac.at-20170523131809-a6pus0ogpmjwtmd8
merge-in trunk r9436

Show diffs side-by-side

added added

removed removed

Lines of Context:
65
65
{
66
66
        QPoint dpos = event->pos() - mousePos;
67
67
        QWidget* p = dynamic_cast<QWidget*>(QFrame::parent()->parent());
68
 
        if (p!=NULL)
 
68
        if (p!=Q_NULLPTR)
69
69
        {
70
70
                int w = p->size().width();
71
71
                int h = p->size().height();