Browse Source

Fix compiler warning with qt4 theming

tags/v2.3.0-RC1
falkTX 3 years ago
parent
commit
cf71267a1b
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
2 changed files with 7 additions and 0 deletions
  1. +6
    -0
      source/theme/CarlaStyle.cpp
  2. +1
    -0
      source/theme/CarlaStyle.hpp

+ 6
- 0
source/theme/CarlaStyle.cpp View File

@@ -43,6 +43,9 @@
# pragma clang diagnostic push
# pragma clang diagnostic ignored "-Wdeprecated-register"
# endif
# if defined(__GNUC__) && __GNUC__ >= 8
# pragma GCC diagnostic ignored "-Wdeprecated-copy"
# endif
# include <QtGui/QPainter>
# include <QtGui/QPainterPath>
# include <QtGui/QPixmapCache>
@@ -57,6 +60,9 @@
# include <QtGui/QSpinBox>
# include <QtGui/QSplitter>
# include <QtGui/QWizard>
# if defined(__GNUC__) && __GNUC__ >= 8
# pragma GCC diagnostic pop
# endif
# ifdef __clang__
# pragma clang diagnostic pop
# endif


+ 1
- 0
source/theme/CarlaStyle.hpp View File

@@ -35,6 +35,7 @@
# if defined(__GNUC__) && __GNUC__ >= 8
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wclass-memaccess"
# pragma GCC diagnostic ignored "-Wdeprecated-copy"
# endif
# include <QtGui/QCommonStyle>
# if defined(__GNUC__) && __GNUC__ >= 8


Loading…
Cancel
Save