mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-08 18:02:13 +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>
|
||||
|
||||
#ifdef __GNUC__
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
||||
#include "FlowLayout.h"
|
||||
//! [1]
|
||||
FlowLayout::FlowLayout(QWidget *parent, int margin, int hSpacing, int vSpacing)
|
||||
|
|
Loading…
Reference in a new issue