Author: jtn
Date: Mon Nov 28 01:27:22 2016
New Revision: 34645

URL: http://svn.gna.org/viewcvs/freeciv?rev=34645&view=rev
Log:
Stop requiring QWheelEvent::source() (new in Qt 5.5) to compile.

See bug #25341.

Modified:
    branches/S2_6/client/gui-qt/citydlg.cpp

Modified: branches/S2_6/client/gui-qt/citydlg.cpp
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/client/gui-qt/citydlg.cpp?rev=34645&r1=34644&r2=34645&view=diff
==============================================================================
--- branches/S2_6/client/gui-qt/citydlg.cpp     (original)
+++ branches/S2_6/client/gui-qt/citydlg.cpp     Mon Nov 28 01:27:22 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

Reply via email to