fixed Qt 5 build error below than Qt 5.6

This commit is contained in:
Rafael 2016-04-06 07:00:50 +02:00
parent c9d71e5e2c
commit 071af97ce7
1 changed files with 1 additions and 1 deletions

View File

@ -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<QString>());