don't check QtWidgets header for -Wdouble-promotion

This commit is contained in:
Seth Alves 2015-06-17 07:02:37 -07:00
parent 7391aebf60
commit 02d7aa30ab

View file

@ -38,8 +38,17 @@
** **
****************************************************************************/ ****************************************************************************/
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdouble-promotion"
#endif
#include <QtWidgets> #include <QtWidgets>
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif
#include "FlowLayout.h" #include "FlowLayout.h"
//! [1] //! [1]
FlowLayout::FlowLayout(QWidget *parent, int margin, int hSpacing, int vSpacing) FlowLayout::FlowLayout(QWidget *parent, int margin, int hSpacing, int vSpacing)