From 071af97ce767cff3ce49271d8211a456a8b6cc66 Mon Sep 17 00:00:00 2001 From: Rafael Date: Wed, 6 Apr 2016 07:00:50 +0200 Subject: [PATCH] fixed Qt 5 build error below than Qt 5.6 --- ProfileInterface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ProfileInterface.cpp b/ProfileInterface.cpp index 6a4796b..311c4cb 100755 --- a/ProfileInterface.cpp +++ b/ProfileInterface.cpp @@ -161,7 +161,7 @@ void ProfileInterface::insertSnapmaticIPI(QWidget *widget) QString widgetKey = widgets[proWidget]; QStringList widgetsKeyList = widgets.values(); QStringList pictureKeyList = widgetsKeyList.filter("PIC", Qt::CaseSensitive); -#if QT_VERSION >= 0x050000 +#if QT_VERSION >= 0x050600 qSort(pictureKeyList.rbegin(), pictureKeyList.rend()); #else qSort(pictureKeyList.begin(), pictureKeyList.end(), qGreater());