mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
7954437665
commit
7e9582631d
12 changed files with 86 additions and 86 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue