Update
#include <QtGui/QWidget>
to
#include <QWidget>
Update
#include <QtGui/QWidget>
to
#include <QWidget>
1 | @@ -2,7 +2,7 @@
2 | #include "macdockiconhandler.h"
3 |
4 | #include <QtGui/QMenu>
Shouldn't we do the same for QMenu?
I don't think so. The reason the QWidget gets changed is because in Qt 5 compared to Qt 4 widgets have been split from the QtGui module into a new QtWidgets module.
See here http://www.kdab.com/porting-from-qt-4-to-qt-5/ under fixing up includes.
Hmm but in other places in the source code we always simply use #include <QMenu>. So I guess it would be more consistent.
Update Qmenu include
This is to be more consistent with the rest of the source
Update Qt Includes
Fixed the other include and merged into one commit.
Automatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/ea9eaf9dec203e40d8a88914ca04ae1a8b705128 for binaries and test log.