summaryrefslogtreecommitdiffstats
path: root/src/textdocument.cpp
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2020-11-02 22:33:43 +0100
committerSlávek Banko <[email protected]>2020-11-02 22:33:47 +0100
commit2c73ccdf45212ab2a43582955be0eff21c70f971 (patch)
tree4754dd610c96338dc39ca60e38a7e794ef6c6966 /src/textdocument.cpp
parentf23df438132393cf20cb93f9922325dc49792573 (diff)
downloadktechlab-2c73ccdf45212ab2a43582955be0eff21c70f971.tar.gz
ktechlab-2c73ccdf45212ab2a43582955be0eff21c70f971.zip
Added controlled conversions to char* instead of automatic ascii conversions.
The definition of -UTQT_NO_ASCII_CAST is no longer needed. Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'src/textdocument.cpp')
-rw-r--r--src/textdocument.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/textdocument.cpp b/src/textdocument.cpp
index ae4bfe7..9de69e8 100644
--- a/src/textdocument.cpp
+++ b/src/textdocument.cpp
@@ -605,7 +605,7 @@ void TextDocument::slotUpdateMarksInfo()
{
TDEAction * a = new TDEAction( i18n("%1 - %2").arg( TQString::number( mark->line+1 ) ).arg( m_doc->textLine(mark->line) ),
0, this, TQT_SLOT(slotBookmarkRequested()), this,
- TQString("bookmark_%1").arg(TQString::number(mark->line).ascii()) );
+ TQString("bookmark_%1").arg(TQString::number(mark->line)).latin1() );
m_bookmarkActions.append(a);
}
}