Fix build for Qt < 5.10

This commit is contained in:
David Varley
2020-10-04 20:51:07 +11:00
parent f5d2fc3916
commit 941aaf7087

View File

@@ -77,6 +77,12 @@
#include <QDialogButtonBox>
#include <QActionGroup>
#if (QT_VERSION >= QT_VERSION_CHECK(5, 10, 0))
#include <QStringView>
#else
#define QStringView QStringRef
#endif
QT_BEGIN_NAMESPACE
//static const char RichTextDialogGroupC[] = "RichTextDialog";