summaryrefslogtreecommitdiffstats
path: root/qt-ui/profilegraphics.h
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2014-01-15 09:30:42 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-01-15 15:52:31 +0700
commit7e9582631d97fc35522344eda417c02c25ea12db (patch)
tree5b8172298be3508f7c6b6f4e80ad24d3c7a7400c /qt-ui/profilegraphics.h
parent795443766597e512504b4d4599d26131c83bff1d (diff)
downloadsubsurface-7e9582631d97fc35522344eda417c02c25ea12db.tar.gz
Convert to TRUE/FALSE to stdbools true/false
I had problems with this one on Qt5. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profilegraphics.h')
-rw-r--r--qt-ui/profilegraphics.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/qt-ui/profilegraphics.h b/qt-ui/profilegraphics.h
index b8e939ff8..1be02bcb1 100644
--- a/qt-ui/profilegraphics.h
+++ b/qt-ui/profilegraphics.h
@@ -100,7 +100,7 @@ private:
class EventItem : public QGraphicsPixmapItem
{
public:
- explicit EventItem(struct event *ev, QGraphicsItem* parent = 0, bool grayscale = FALSE);
+ explicit EventItem(struct event *ev, QGraphicsItem* parent = 0, bool grayscale = false);
struct event* ev;
private:
@@ -131,10 +131,10 @@ public:
enum Mode{DIVE, PLAN};
ProfileGraphicsView(QWidget* parent = 0);
- void plot(struct dive *d, bool forceRedraw = FALSE);
+ void plot(struct dive *d, bool forceRedraw = false);
bool eventFilter(QObject* obj, QEvent* event);
void clear();
- void setPrintMode(bool mode, bool grayscale = FALSE);
+ void setPrintMode(bool mode, bool grayscale = false);
protected:
void resizeEvent(QResizeEvent *event);