Skip to content

Commit

Permalink
fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
devernay committed Apr 3, 2016
1 parent 280ea50 commit 114b32e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Gui/KnobGui20.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,11 @@
#include <cassert>
#include <stdexcept>

CLANG_DIAG_OFF(deprecated)
CLANG_DIAG_OFF(uninitialized)
#include <QAction>
CLANG_DIAG_ON(deprecated)
CLANG_DIAG_ON(uninitialized)

#include "Engine/ViewIdx.h"

Expand Down
4 changes: 4 additions & 0 deletions Gui/ProgressPanel.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,11 @@
#include <boost/enable_shared_from_this.hpp>
#endif

CLANG_DIAG_OFF(deprecated)
CLANG_DIAG_OFF(uninitialized)
#include <QWidget>
CLANG_DIAG_ON(deprecated)
CLANG_DIAG_ON(uninitialized)

#include "Gui/PanelWidget.h"
#include "Gui/GuiFwd.h"
Expand Down
4 changes: 4 additions & 0 deletions Gui/ProgressTaskInfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,16 @@

#include "ProgressTaskInfo.h"

CLANG_DIAG_OFF(deprecated)
CLANG_DIAG_OFF(uninitialized)
#include <QTimer>
#include <QProgressBar>
#include <QApplication>
#include <QThread>
#include <QProgressBar>
#include <QHBoxLayout>
CLANG_DIAG_ON(deprecated)
CLANG_DIAG_ON(uninitialized)

#include "Engine/AppInstance.h"
#include "Engine/Image.h"
Expand Down

0 comments on commit 114b32e

Please sign in to comment.