mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 03:37:49 +02:00
don't check QtWidgets header for -Wdouble-promotion
This commit is contained in:
parent
7391aebf60
commit
02d7aa30ab
1 changed files with 9 additions and 0 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue