summaryrefslogtreecommitdiffstats
path: root/src/modules/objects/class_painter.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2026-02-21 11:03:45 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2026-02-21 20:54:51 +0900
commit4d13f1a2267c6864b98c5a46631b1e2bbe3c024a (patch)
tree72d524c66325b2c554bafcf86225d26664373444 /src/modules/objects/class_painter.cpp
parentf14a1c5c8c988ef6901545040aabedf8027ecc18 (diff)
downloadkvirc-feat/more-fixes-for-cmake.tar.gz
kvirc-feat/more-fixes-for-cmake.zip
Fix conversion of TQString to const char* (modules)feat/more-fixes-for-cmake
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/modules/objects/class_painter.cpp')
-rw-r--r--src/modules/objects/class_painter.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/objects/class_painter.cpp b/src/modules/objects/class_painter.cpp
index 9c510044..83b44974 100644
--- a/src/modules/objects/class_painter.cpp
+++ b/src/modules/objects/class_painter.cpp
@@ -408,7 +408,7 @@ if(__pXOrArray->isArray())\
if(c->params()->count() < 4)\
{\
TQString error=function+" requires either an array as first parameter or four integers";\
- c->error(__tr2qs(error));\
+ c->error(__tr2qs(error.local8Bit().data()));\
return false;\
}\
if(!__pXOrArray->asInteger(iX))\
@@ -442,7 +442,7 @@ if(__pXOrArray->isArray())\
if(c->params()->count() < 2)\
{\
TQString error=function+" requires either an array as first parameter or two integers";\
- c->error(__tr2qs(error));\
+ c->error(__tr2qs(error.local8Bit().data()));\
return false;\
}\
if(!__pXOrArray->asInteger(iX))\
@@ -477,7 +477,7 @@ if(__pCol1OrArray->isArray())\
if(c->params()->count() < 3)\
{\
TQString error=function+" requires either an array as first parameter or 3 integers";\
- c->error(__tr2qs(error));\
+ c->error(__tr2qs(error.local8Bit().data()));\
return false;\
}\
if(!__pCol1OrArray->asInteger(iCol1))\