Fix compatibility issue with Qt 5.2.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2017-10-13 17:48:54 +03:00
parent d15e507aeb
commit cc66a2ccbb

View File

@ -25,7 +25,13 @@
#include <QKeyEvent> #include <QKeyEvent>
#include <QLayout> #include <QLayout>
#include <QLayoutItem> #include <QLayoutItem>
#include <QMargins>
#if QT_VERSION < QT_VERSION_CHECK(5, 3, 0)
# include "../vmisc/backport/qmarginsf.h"
#else
# include <QMargins>
#endif
#include <QStyleOptionViewItem> #include <QStyleOptionViewItem>
#include <QVariant> #include <QVariant>
#include <QWidget> #include <QWidget>