From 5e6c401557744fe5f9765471605cc793939fee1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Thu, 17 Mar 2022 18:50:52 +0100 Subject: Added controlled conversions to char* instead of automatic ascii conversions. The definition of -UTQT_NO_ASCII_CAST is no longer needed. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- kmymoney2/mymoney/mymoneyutils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kmymoney2/mymoney/mymoneyutils.cpp') diff --git a/kmymoney2/mymoney/mymoneyutils.cpp b/kmymoney2/mymoney/mymoneyutils.cpp index 49d5cac..93700af 100644 --- a/kmymoney2/mymoney/mymoneyutils.cpp +++ b/kmymoney2/mymoney/mymoneyutils.cpp @@ -337,7 +337,7 @@ unsigned long extractId(const TQString& txt) pos = txt.find(TQRegExp("\\d+"), 0); if(pos != -1) { - rc = atol(txt.mid(pos)); + rc = txt.mid(pos).toLong(); } return rc; } -- cgit v1.2.3