Fix compilation with c++0x mode

Change-Id: Ie4f157f25c31e46d4cc7cb628b8605b99561a4e8
Reviewed-on: http://codereview.qt.nokia.com/1220
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Olivier Goffart <olivier.goffart@nokia.com>
This commit is contained in:
Lars Knoll 2011-07-04 14:03:23 +02:00 committed by Qt by Nokia
parent f306d18fe6
commit 26a6d3f11b

View File

@ -68,7 +68,7 @@ public:
inline QStringList(const QStringList &l) : QList<QString>(l) { }
inline QStringList(const QList<QString> &l) : QList<QString>(l) { }
#ifdef Q_COMPILER_INITIALIZER_LISTS
inline QStringList(std::initializer_list<QString> args) : QList(args) { }
inline QStringList(std::initializer_list<QString> args) : QList<QString>(args) { }
#endif
inline void sort();