diff options
Diffstat (limited to 'chalk/core')
-rw-r--r-- | chalk/core/kis_brush.cpp | 2 | ||||
-rw-r--r-- | chalk/core/kis_imagepipe_brush.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/chalk/core/kis_brush.cpp b/chalk/core/kis_brush.cpp index 49ee8e58..98453aa5 100644 --- a/chalk/core/kis_brush.cpp +++ b/chalk/core/kis_brush.cpp @@ -287,7 +287,7 @@ bool KisBrush::save() { TQFile file(filename()); file.open(IO_WriteOnly | IO_Truncate); - bool ok = saveToDevice(TQT_TQIODEVICE(&file)); + bool ok = saveToDevice(&file); file.close(); return ok; } diff --git a/chalk/core/kis_imagepipe_brush.cpp b/chalk/core/kis_imagepipe_brush.cpp index 5c60b517..a95d5fa2 100644 --- a/chalk/core/kis_imagepipe_brush.cpp +++ b/chalk/core/kis_imagepipe_brush.cpp @@ -265,7 +265,7 @@ bool KisImagePipeBrush::save() { TQFile file(filename()); file.open(IO_WriteOnly | IO_Truncate); - bool ok = saveToDevice(TQT_TQIODEVICE(&file)); + bool ok = saveToDevice(&file); file.close(); return ok; } |