summaryrefslogtreecommitdiffstats
path: root/chalk/ui/kis_tool_freehand.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chalk/ui/kis_tool_freehand.cc')
-rw-r--r--chalk/ui/kis_tool_freehand.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chalk/ui/kis_tool_freehand.cc b/chalk/ui/kis_tool_freehand.cc
index bb7dbc1e..adbf9b8a 100644
--- a/chalk/ui/kis_tool_freehand.cc
+++ b/chalk/ui/kis_tool_freehand.cc
@@ -20,7 +20,7 @@
*/
#include <tqevent.h>
#include <tqlabel.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqwidget.h>
#include <tqrect.h>
@@ -318,7 +318,7 @@ void KisToolFreehand::paintOutline(const KisPoint& point) {
}
KisCanvas *canvas = controller->kiscanvas();
- canvas->repaint();
+ canvas->tqrepaint();
KisBrush *brush = m_subject->currentBrush();
// There may not be a brush present, and we shouldn't crash in that case