diff options
Diffstat (limited to 'chalk/core/kis_fill_painter.cc')
-rw-r--r-- | chalk/core/kis_fill_painter.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chalk/core/kis_fill_painter.cc b/chalk/core/kis_fill_painter.cc index a025ce10..54e730a7 100644 --- a/chalk/core/kis_fill_painter.cc +++ b/chalk/core/kis_fill_painter.cc @@ -22,7 +22,7 @@ #include <cfloat> #include <stack> -#include "brush.h" +#include "tqbrush.h" #include "tqfontinfo.h" #include "tqfontmetrics.h" #include "tqpen.h" @@ -209,7 +209,7 @@ struct FillSegment { // FillSegment* parent; }; -typedef enum { None = 0, Added = 1, Checked = 2 } Status; +typedef enum { None = 0, Added = 1, Checked = 2 } tqStatus; KisSelectionSP KisFillPainter::createFloodSelection(int startX, int startY) { if (m_width < 0 || m_height < 0) { @@ -260,9 +260,9 @@ KisSelectionSP KisFillPainter::createFloodSelection(int startX, int startY) { stack.push(new FillSegment(startX, startY/*, 0*/)); - Status* map = new Status[m_size]; + tqStatus* map = new tqStatus[m_size]; - memset(map, None, m_size * sizeof(Status)); + memset(map, None, m_size * sizeof(tqStatus)); int progressPercent = 0; int pixelsDone = 0; int currentPercent = 0; emit notifyProgressStage(i18n("Making fill outline..."), 0); |