Author: jtn Date: Mon Nov 28 01:27:06 2016 New Revision: 34644 URL: http://svn.gna.org/viewcvs/freeciv?rev=34644&view=rev Log: Stop requiring QWheelEvent::source() (new in Qt 5.5) to compile.
See bug #25341. Modified: trunk/client/gui-qt/citydlg.cpp Modified: trunk/client/gui-qt/citydlg.cpp URL: http://svn.gna.org/viewcvs/freeciv/trunk/client/gui-qt/citydlg.cpp?rev=34644&r1=34643&r2=34644&view=diff ============================================================================== --- trunk/client/gui-qt/citydlg.cpp (original) +++ trunk/client/gui-qt/citydlg.cpp Mon Nov 28 01:27:06 2016 @@ -446,7 +446,7 @@ event->angleDelta(), event->angleDelta().y(), Qt::Horizontal, event->buttons(), - event->modifiers(), event->phase(), event->source()); + event->modifiers(), event->phase()); QApplication::sendEvent(parentWidget(), &new_event); } @@ -495,7 +495,7 @@ event->angleDelta(), event->angleDelta().y(), Qt::Horizontal, event->buttons(), - event->modifiers(), event->phase(), event->source()); + event->modifiers(), event->phase()); QApplication::sendEvent(parentWidget()->parentWidget(), &new_event); } @@ -882,7 +882,7 @@ event->angleDelta(), event->angleDelta().y(), Qt::Horizontal, event->buttons(), - event->modifiers(), event->phase(), event->source()); + event->modifiers(), event->phase()); QApplication::sendEvent(parentWidget()->parentWidget(), &new_event); } @@ -963,7 +963,7 @@ event->angleDelta(), event->angleDelta().y(), Qt::Horizontal, event->buttons(), - event->modifiers(), event->phase(), event->source()); + event->modifiers(), event->phase()); QApplication::sendEvent(parentWidget(), &new_event); } _______________________________________________ Freeciv-commits mailing list Freeciv-commits@gna.org https://mail.gna.org/listinfo/freeciv-commits