Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/track/keyutils.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
// Horrible Hack to workaround QT 4.8 bug with MSVC compiler. lp:1627826
// QT 4.8 explicitely disable Initializer lists, but initializer lists is
// supported with MSVC 2013 SP2 +
// http://code.qt.io/cgit/qt/qt.git/tree/src/corelib/global/qglobal.h#n910
// TODO(XXX): Remove after QT4 deprecation, unneeded with QT5
#if _MSC_VER >= 1800 /* MSVS 2013 */
#define Q_COMPILER_INITIALIZER_LISTS
#endif /* MSVS 2013 */
#include <QtDebug>
#include <QMap>
#include <QMutexLocker>
Expand Down