summaryrefslogtreecommitdiffstats
path: root/src/modules/editor
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2026-01-27 12:24:23 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2026-02-03 18:46:43 +0900
commited184e8a40a61c38536ba6b2ab3453dffe7937e5 (patch)
treebbd710b568b806847dd7307adc4557ca59f9f22e /src/modules/editor
parent226080f88c5b3c47626cb46314e359de188c2249 (diff)
downloadkvirc-ed184e8a40a61c38536ba6b2ab3453dffe7937e5.tar.gz
kvirc-ed184e8a40a61c38536ba6b2ab3453dffe7937e5.zip
Fix conversion of TQString to const char*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/modules/editor')
-rw-r--r--src/modules/editor/scripteditor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/editor/scripteditor.cpp b/src/modules/editor/scripteditor.cpp
index 68a70d3f..62a49307 100644
--- a/src/modules/editor/scripteditor.cpp
+++ b/src/modules/editor/scripteditor.cpp
@@ -458,7 +458,7 @@ bool KviScriptEditorWidget::contextSensitiveHelp() const
void KviScriptEditorWidget::getWordOnCursor(TQString &buffer,int index) const
{
TQRegExp re("[ \t=,\\(\\)\"}{\\[\\]\r\n+-*><;@!]");
- //tqDebug("BUFFER IS %s",buffer.utf8().data());
+ //tqDebug("BUFFER IS %s",buffer.local8Bit().data());
int start = buffer.findRev(re,index);
int end = buffer.find(re,index);
@@ -471,7 +471,7 @@ void KviScriptEditorWidget::getWordOnCursor(TQString &buffer,int index) const
tmp = buffer.mid(start,end-start);
}
buffer = tmp;
- //tqDebug("BUFFER NOW IS %s",buffer.utf8().data());
+ //tqDebug("BUFFER NOW IS %s",buffer.local8Bit().data());
}
void KviScriptEditorWidget::completition(bool bCanComplete)