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 <QLayout>
#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 <QVariant>
#include <QWidget>